]> 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)
commit034c8e549d3c7a99d248c6880777b5628a400dd8
tree0841c7f73548bfecd44049497a0833765431793c
parentb93005250c2ff174ce5049ad0e263e4cd8c6e09d
Revert "net: Handle CHECKSUM_COMPLETE more adequately in pskb_trim_rcsum()."

This reverts commit b50281c5164a7549c45c29e2b63bb01a0ce21d3a.

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