From: Eric Dumazet <redacted>
Date: Wed, 30 Dec 2015 13:05:45 -0500
On Thu, 2015-09-24 at 14:09 -0700, David Miller wrote:
quoted
From: Pravin B Shelar <redacted>
Date: Tue, 22 Sep 2015 12:57:53 -0700
quoted
VXLAN device can receive skb with checksum partial. But the checksum
offset could be in outer header which is pulled on receive. This results
in negative checksum offset for the skb. Such skb can cause the assert
failure in skb_checksum_help(). Following patch fixes the bug by setting
checksum-none while pulling outer header.
Following is the kernel panic msg from old kernel hitting the bug.
...
quoted
Reported-by: Anupam Chanda <redacted>
Signed-off-by: Pravin B Shelar <redacted>
Applied, thanks.
It looks like we also should clear skb->csum ?
__skb_checksum_complete() definitely would be confused by garbage in
skb->csum
Pravin, please take a look at this.