summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2017-04-20 20:55:12 +0800
committerDavid S. Miller <davem@davemloft.net>2017-04-25 10:42:10 -0400
commitf6478218e6edc2a587b8f132f66373baa7b2497c (patch)
tree85d69a0d169b13b811aa8a7244b1335b9d8d00c8 /drivers/net/ethernet/sfc
parent6f2aee0c0de65013333bbc26fe50c9c7b09a37f7 (diff)
downloadlinux-f6478218e6edc2a587b8f132f66373baa7b2497c.tar.bz2
macvlan: Fix device ref leak when purging bc_queue
When a parent macvlan device is destroyed we end up purging its broadcast queue without dropping the device reference count on the packet source device. This causes the source device to linger. This patch drops that reference count. Fixes: 260916dfb48c ("macvlan: Fix potential use-after free for...") Reported-by: Joe Ghalam <Joe.Ghalam@dell.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc')
0 files changed, 0 insertions, 0 deletions