summaryrefslogtreecommitdiff
path: root/net/ipv4/gre.c
diff options
context:
space:
mode:
authorStefan Raspl <raspl@linux.vnet.ibm.com>2013-06-24 13:21:51 +0200
committerDavid S. Miller <davem@davemloft.net>2013-06-25 16:10:14 -0700
commitede88671664128b811e7c709bead39f5b3f3abcf (patch)
treed7084cf30706985a3b640c7806e7d89a04517073 /net/ipv4/gre.c
parenta0c98523d7d71e0276f3cb127bc0c6d4fc85907a (diff)
qeth: Fix crash on initial MTU size change
When the initial MTU size is changed prior to any activity on the device (e.g. by attaching a z/VM vNIC already configured in Linux to a guestLAN), we call dev_kfree_skb_irq(NULL) which results in a kernel panic. Adding a proper check for NULL pointers to address this issue. Signed-off-by: Stefan Raspl <raspl@linux.vnet.ibm.com> Signed-off-by: Frank Blaschka <blaschka@linux.vnet.ibm.com> Reviewed-by: Ursula Braun <braunu@de.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/gre.c')
0 files changed, 0 insertions, 0 deletions