]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
net: Add skb_gro_receive
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 16 Dec 2008 07:42:33 +0000 (23:42 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Dec 2008 07:42:33 +0000 (23:42 -0800)
commit71d93b39e52e92aea35f1058d957cf12250d0b75
tree270e3fe674d15467454504a99af2146c0324e08b
parent73cc19f1556b95976934de236fd9043f7208844f
net: Add skb_gro_receive

This patch adds the helper skb_gro_receive to merge packets for
GRO.  The current method is to allocate a new header skb and then
chain the original packets to its frag_list.  This is done to
make it easier to integrate into the existing GSO framework.

In future as GSO is moved into the drivers, we can undo this and
simply chain the original packets together.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
net/core/skbuff.c