diff options
| author | Nikolay Aleksandrov <[email protected]> | 2017-06-05 22:26:24 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-06-06 20:05:31 +0000 |
| commit | 1020ce3108cc26fbf09d70550ea2937cb1a211d2 (patch) | |
| tree | 5933ffa09ce8626a546e1591a69b24199e3a7781 /net/dsa/dsa.c | |
| parent | ravb: Fix use-after-free on `ifconfig eth0 down` (diff) | |
| download | kernel-1020ce3108cc26fbf09d70550ea2937cb1a211d2.tar.gz kernel-1020ce3108cc26fbf09d70550ea2937cb1a211d2.zip | |
net: bridge: fix a null pointer dereference in br_afspec
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 <[email protected]>
Fixes: efa5356b0d97 ("bridge: per vlan dst_metadata netlink support")
Signed-off-by: Nikolay Aleksandrov <[email protected]>
Acked-by: Roopa Prabhu <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/dsa/dsa.c')
0 files changed, 0 insertions, 0 deletions
