]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
net/inet_lro: remove setting skb->ip_summed when not LRO-able
authorEli Cohen <eli@mellanox.co.il>
Sat, 28 Jun 2008 03:09:00 +0000 (20:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 28 Jun 2008 03:09:00 +0000 (20:09 -0700)
commit251a4b320f2352598f84e4452ab538aa8064af52
tree8993e1aafe4917c85a12f3ac0e8bb10b37a787e1
parent9a375803feaadb6c34e0807bd9325885dcca5c00
net/inet_lro: remove setting skb->ip_summed when not LRO-able

When an SKB cannot be chained to a session, the current code attempts
to "restore" its ip_summed field from lro_mgr->ip_summed. However,
lro_mgr->ip_summed does not hold the original value; in fact, we'd
better not touch skb->ip_summed since it is not modified by the code
in the path leading to a failure to chain it.  Also use a cleaer
comment to the describe the ip_summed field of struct net_lro_mgr.

Issue raised by Or Gerlitz <ogerlitz@voltaire.com>

Signed-off-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/inet_lro.h
net/ipv4/inet_lro.c