summaryrefslogtreecommitdiff
path: root/include/net/inet6_connection_sock.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-11-04 15:49:49 +0300
committerDavid S. Miller <davem@davemloft.net>2015-11-05 05:59:22 +0300
commitf63ce5b6fa5e9a0faf7a0e1ef2993a502878c78a (patch)
tree6a6a060254017f2bcdbab98ee66dd94fcfe6eae9 /include/net/inet6_connection_sock.h
parente7868a85e1b26bcb2e71088841eec1d310a97ac9 (diff)
downloadlinux-f63ce5b6fa5e9a0faf7a0e1ef2993a502878c78a.tar.xz
tun_dst: Fix potential NULL dereference
In tun_dst_unclone() the return value of skb_metadata_dst() is checked for being NULL after it is dereferenced. Fix this by moving the dereference after the NULL check. Found by the Coverity scanner (CID 1338068). Fixes: fc4099f17240 ("openvswitch: Fix egress tunnel info.") Cc: Pravin B Shelar <pshelar@nicira.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/inet6_connection_sock.h')
0 files changed, 0 insertions, 0 deletions