]> git.baikalelectronics.ru Git - kernel.git/commit
IP_GRE: Fix kernel panic in IP_GRE with GRE csum.
authorPravin B Shelar <pshelar@nicira.com>
Wed, 23 Jan 2013 11:45:42 +0000 (11:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2013 05:07:34 +0000 (00:07 -0500)
commitc3d1c539922ced464fec447a0c52fbad44b6b48a
treefcb6e76c41c72c45f985583172e4c09b48c446b1
parent7875793cebb0e6da9b9c5f576a8fb293f6a8fd98
IP_GRE: Fix kernel panic in IP_GRE with GRE csum.

Due to IP_GRE GSO support, GRE can recieve non linear skb which
results in panic in case of GRE_CSUM.  Following patch fixes it by
using correct csum API.

Bug introduced in commit 456adf081cca92a552 (gre: add GSO support)

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_gre.c