Files
linux/net
Nikolay Aleksandrov 9719e31a96 net: bridge: fix a null pointer dereference in br_afspec
[ Upstream commit 1020ce3108 ]

We might call br_afspec() with p == NULL which is a valid use case if
the action is on the bridge device itself, but the bridge tunnel code
dereferences the p pointer without checking, so check if p is null
first.

Reported-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Fixes: efa5356b0d ("bridge: per vlan dst_metadata netlink support")
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Acked-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-06-14 15:07:35 +02:00
..
2017-01-22 16:46:13 -05:00
2017-04-17 14:23:20 -04:00
2016-12-03 23:54:25 -05:00
2017-02-21 13:25:22 -05:00
2017-06-14 15:07:34 +02:00
2016-10-20 11:23:08 -04:00
2017-01-24 11:07:35 +01:00
2017-04-27 12:20:19 +02:00