]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "net: Handle CHECKSUM_COMPLETE more adequately in pskb_trim_rcsum()."
authorDavid S. Miller <davem@davemloft.net>
Mon, 2 Dec 2013 22:26:05 +0000 (17:26 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Dec 2013 22:26:05 +0000 (17:26 -0500)
commit5bafdc8fb13782d97af39b0bb640c5a0a5cff0d5
tree0841c7f73548bfecd44049497a0833765431793c
parent5d4e5636dbe1bc8517068237083d0dbdba6fe016
Revert "net: Handle CHECKSUM_COMPLETE more adequately in pskb_trim_rcsum()."

This reverts commit dad05ac30fdc71d09622c062322ba13b0e7406f1.

It causes regressions for people using chips driven by the sungem
driver.  Suspicion is that the skb->csum value isn't being adjusted
properly.

The change also has a bug in that if __pskb_trim() fails, we'll leave
a corruped skb->csum value in there.  We would really need to revert
it to it's original value in that case.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h