Steffen Klassert 302a50bc94 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>
2013-08-28 08:47:14 +02:00
..
2013-05-14 13:02:30 -07:00
2013-03-17 14:35:13 -04:00
2013-05-27 22:50:59 -07:00
2013-08-13 00:57:06 -07:00
2013-02-21 12:05:51 -08:00
2013-05-27 22:50:59 -07:00