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)
This reverts commit 018c5bba052b3a383d83cf0c756da0e7bc748397.

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

Simple merge