diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2013-08-28 08:47:14 +0200 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2013-08-28 08:47:14 +0200 |
commit | 302a50bc941010d7a67f288fd0db31981e4d722d (patch) | |
tree | 162abbe125b769187a43c8d7ed133765d2134c7a /drivers/s390/net | |
parent | 9c9c9ad5fae7e9ef56a38acb508a01919b225e9a (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 <steffen.klassert@secunet.com>
Diffstat (limited to 'drivers/s390/net')
0 files changed, 0 insertions, 0 deletions