]> git.baikalelectronics.ru Git - kernel.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)
commit389c80170dbdd404649f117fcdf6bbb25e36e208
tree270e3fe674d15467454504a99af2146c0324e08b
parent81d27200752e90a20351f3b41674fc5971c6a229
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