summaryrefslogtreecommitdiffstats
path: root/arch/um/include/asm/tlb.h
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2013-08-28 08:47:14 +0200
committerSteffen Klassert <steffen.klassert@secunet.com>2013-08-28 08:47:14 +0200
commit302a50bc941010d7a67f288fd0db31981e4d722d (patch)
tree162abbe125b769187a43c8d7ed133765d2134c7a /arch/um/include/asm/tlb.h
parent9c9c9ad5fae7e9ef56a38acb508a01919b225e9a (diff)
downloadlinux-302a50bc941010d7a67f288fd0db31981e4d722d.tar.gz
linux-302a50bc941010d7a67f288fd0db31981e4d722d.tar.xz
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 <steffen.klassert@secunet.com>
Diffstat (limited to 'arch/um/include/asm/tlb.h')
0 files changed, 0 insertions, 0 deletions