aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorSteffen Klassert <[email protected]>2013-08-28 08:47:14 +0200
committerSteffen Klassert <[email protected]>2013-08-28 08:47:14 +0200
commit302a50bc941010d7a67f288fd0db31981e4d722d (patch)
tree162abbe125b769187a43c8d7ed133765d2134c7a /net/unix/sysctl_net_unix.c
parent9c9c9ad5fae7e9ef56a38acb508a01919b225e9a (diff)
xfrm: Fix potential null pointer dereference in xdst_queue_output
The net_device might be not set on the skb when we try refcounting. This leads to a null pointer dereference in xdst_queue_output(). It turned out that the refcount to the net_device is not needed after all. The dst_entry has a refcount to the net_device before we queue the skb, so it can't go away. Therefore we can remove the refcount on queueing to fix the null pointer dereference. Signed-off-by: Steffen Klassert <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions