]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'bridge-egress-fixes'
authorDavid S. Miller <davem@davemloft.net>
Thu, 10 Jun 2021 21:06:43 +0000 (14:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Jun 2021 21:06:43 +0000 (14:06 -0700)
commit38bb0df596aa2f68b2e61261a06c401aa0852e7a
tree15eb00d6b79d73c4eb064f8942acf9a0e20a436c
parentf84f30d3e9a680a4fcf527db7152044ca76b79ef
parent3f0bd2079af283027818b1b360ae5ed5d4c09329
Merge branch 'bridge-egress-fixes'

Nikolay Aleksandrov says:

====================
net: bridge: vlan tunnel egress path fixes

These two fixes take care of tunnel_dst problems in the vlan tunnel egress
path. Patch 01 fixes a null ptr deref due to the lockless use of tunnel_dst
pointer without checking it first, and patch 02 fixes a use-after-free
issue due to wrong dst refcounting (dst_clone() -> dst_hold_safe()).

Both fix the same commit and should be queued for stable backports:
Fixes: 675eb4acd69e ("bridge: vlan dst_metadata hooks in ingress and egress paths")
v2: no changes, added stable list to CC
====================

Signed-off-by: David S. Miller <davem@davemloft.net>