]> 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)
commit0568564d1b168765364570e630f1062b506b1270
tree1ea3987010c27985a3edb7af66e1d143b2cefc77
parent08abc4b48777472147bf0933c79b7f9fccc31eca
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 960df44c1adc (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