lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <1465442964-5786-3-git-send-email-edumazet@google.com> Date: Wed, 8 Jun 2016 20:29:23 -0700 From: Eric Dumazet <edumazet@...gle.com> To: "David S . Miller" <davem@...emloft.net> Cc: netdev <netdev@...r.kernel.org>, Eric Dumazet <edumazet@...gle.com>, David Ahern <dsa@...ulusnetworks.com>, Eric Dumazet <eric.dumazet@...il.com> Subject: [PATCH v2 net-next 3/4] net: macvlan: call netdev_lockdep_set_classes() In case a qdisc is used on a macvlan device, we need to use different lockdep classes to avoid false positives. Fixes: f9eb8aea2a1e ("net_sched: transform qdisc running bit into a seqcount") Fixes: 79640a4ca695 ("net: add additional lock to qdisc to increase throughput") Signed-off-by: Eric Dumazet <edumazet@...gle.com> --- drivers/net/macvlan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c index 0c65bd914aed..b0c6f5b43f67 100644 --- a/drivers/net/macvlan.c +++ b/drivers/net/macvlan.c @@ -823,6 +823,7 @@ static void macvlan_set_lockdep_class(struct net_device *dev) &macvlan_netdev_addr_lock_key, macvlan_get_nest_level(dev)); netdev_for_each_tx_queue(dev, macvlan_set_lockdep_class_one, NULL); + netdev_lockdep_set_classes(dev); } static int macvlan_init(struct net_device *dev) -- 2.8.0.rc3.226.g39d4020
Powered by blists - more mailing lists