summaryrefslogtreecommitdiff
path: root/ipv6.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-06-13 17:26:47 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-06-13 17:26:47 +0200
commit494d29a8bcd07e544e8178b140ba3b75bcb3aceb (patch)
tree6557750020e1647d16ed18365fdd6161cc64348e /ipv6.h
parent8b8244232220aef30417b8bc712e45542f5504db (diff)
dissector: ip_auth_hdr: Fix possible null pointer dereference
Fix an unconditional dereference of a pkt_pull() return value to prevent dereferencing a null pointer. This was found by the Coverity scanner. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'ipv6.h')
0 files changed, 0 insertions, 0 deletions
s/net/ethernet/cavium/thunder/thunder_xcv.c:119 xcv_setup_link() error: we previously assumed 'xcv' could be null (see line 118) [smatch] drivers/net/ethernet/cavium/thunder/thunder_xcv.c:119:16-20: ERROR: xcv is NULL but dereferenced. [coccinelle] Fixes: 6465859aba1e66a5 ("net: thunderx: Add RGMII interface type support") Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net> Cc: Sunil Goutham <sgoutham@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/exthdrs.c')