]> git.baikalelectronics.ru Git - kernel.git/commit
net: Kill link between CSUM and SG features.
authorPravin B Shelar <pshelar@nicira.com>
Thu, 7 Mar 2013 09:28:01 +0000 (09:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Mar 2013 21:08:57 +0000 (16:08 -0500)
commit7ce938c3de6b5d71fa16352b124c7d1a4b050c46
tree1ea3987010c27985a3edb7af66e1d143b2cefc77
parentdebd6dda142d39440d696e9c02182c1e0acd1847
net: Kill link between CSUM and SG features.

Earlier SG was unset if CSUM was not available for given device to
force skb copy to avoid sending inconsistent csum.
Commit 34d7787b94e0 (net: Fix possible wrong checksum generation)
added explicit flag to force copy to fix this issue.  Therefore
there is no need to link SG and CSUM, following patch kills this
link between there two features.

This patch is also required following patch in series.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c
net/core/skbuff.c
net/ipv4/af_inet.c
net/ipv6/ip6_offload.c