Skip to content

vlan: fix netdev refcount leak

Ivan Delalande stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vlan: introduce vlan_dev_free_egress_prioritynet/8021q/vlan.h net/8021q/vlan_dev.c net/8021q/vlan_netlink.c+11 -50 replies
2/2vlan: move dev_put into vlan_dev_uninitnet/8021q/vlan_dev.c+5 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 5.4/5.10 0/2] vlan: fix netdev refcount leak

We started hitting the same netdevice refcount leak that had been reported and fixed in mainline, and that Olivier had backported into v5.15.142. So this is the same series further backported to the latest v5.10 which fixes the issues we were seeing there.

This version also applies without change on v5.4 which should also be affected, but it was only build-tested there as we don't have an easy way to run our tests on that version.

Reference: https://lore.kernel.org/stable/[email protected]/

Xin Long (2):
vlan: introduce vlan_dev_free_egress_priority
vlan: move dev_put into vlan_dev_uninit

 net/8021q/vlan.h         |  2 +-
 net/8021q/vlan_dev.c     | 15 +++++++++++----
 net/8021q/vlan_netlink.c |  7 ++++---
 3 files changed, 16 insertions(+), 8 deletions(-)
Signature · 1 line
2.34.1