]> git.baikalelectronics.ru Git - kernel.git/commit
net: fix skb_add_data_nocache() to calc csum correctly
authorWei Yongjun <yjwei@cn.fujitsu.com>
Wed, 6 Apr 2011 18:40:12 +0000 (18:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Apr 2011 06:05:01 +0000 (23:05 -0700)
commitdc431143b30449976b6c69600f84aff778cf8662
tree5e5e0c4120ccff8b3885dc2660e37634115c8bac
parent318657a8f86dfaba79feb26ba3842bbafd34d738
net: fix skb_add_data_nocache() to calc csum correctly

commit b1cd982978b6214327181f7966407ba834fc69d6 broken the calc
 (net: Allow no-cache copy from user on transmit)
of checksum, which may cause some tcp packets be dropped because
incorrect checksum. ssh does not work under today's net-next-2.6
tree.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Acked-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h