]> git.baikalelectronics.ru Git - kernel.git/commit
gro: reset skb_iif on reuse
authorAndy Gospodarek <andy@greyhouse.net>
Wed, 2 Feb 2011 22:53:25 +0000 (14:53 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Feb 2011 22:53:25 +0000 (14:53 -0800)
commit7f3efc1361c3328f482bc7a7780c73a69a440cda
treec634636d5f033f0eefde9de1360624ae8972924e
parentb9cca4af1685eae7f664f62d15969b28164c8eaf
gro: reset skb_iif on reuse

Like Herbert's change from a few days ago:

e01bc4c27d4f3123b11a3f543d47b716fe224081 gro: Reset dev pointer on reuse

this may not be necessary at this point, but we should still clean up
the skb->skb_iif.  If not we may end up with an invalid valid for
skb->skb_iif when the skb is reused and the check is done in
__netif_receive_skb.

Signed-off-by: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c