lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1383764517.1520.16.camel@bwh-desktop.uk.level5networks.com>
Date:	Wed, 6 Nov 2013 19:01:57 +0000
From:	Ben Hutchings <bhutchings@...arflare.com>
To:	David Laight <David.Laight@...LAB.COM>
CC:	<netdev@...r.kernel.org>
Subject: Re: Generating fragmented skb

On Wed, 2013-11-06 at 12:31 +0000, David Laight wrote:
> What is the easiest way to generate fragmented skb?
[...]

TCP usually generates fragmented skbs when the output device supports
them, separating the payload (may be transmitted multiple times, not
modified by the stack) from the headers (regenerated by the stack for
each transmission).  For small sends this is no longer the case.

You can use sendfile() to control fragmentation from userland.

Ben.

-- 
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ