net: Add frag_list support to skb_segment
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 16 Dec 2008 07:26:06 +0000 (23:26 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Dec 2008 07:26:06 +0000 (23:26 -0800)
This patch adds limited support for handling frag_list packets in
skb_segment.  The intention is to support GRO (Generic Receive Offload)
packets which will be constructed by chaining normal packets using
frag_list.

As such we require all frag_list members terminate on exact MSS
boundaries.  This is checked using BUG_ON.

As there should only be one producer in the kernel of such packets,
namely GRO, this requirement should not be difficult to maintain.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found