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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1465483515-10821-1-git-send-email-edumazet@google.com>
Date:	Thu,  9 Jun 2016 07:45:10 -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 v3 net-next 0/5] net: better lockdep annotations

Introduction of qdisc->running seqcount added lockdep false positives.

While chasing the bug, it came to me that we had a lot of copies of the
same stuff in virtual drivers.

This patch series has the qdisc->running fix (considers that a trylock
is attempted in lockdep terminology), and adds a generic helper so
that we no longer have to patch many virtual drivers when a new per-device
or per-qdisc lock is added.

Thanks to David Ahern for reporting the issue and testing my patches :)


Eric Dumazet (5):
  net: sched: fix qdisc->running lockdep annotations
  net: add netdev_lockdep_set_classes() helper
  net: vrf: call netdev_lockdep_set_classes()
  net: macvlan: call netdev_lockdep_set_classes()
  net: ipvlan: call netdev_lockdep_set_classes()

 drivers/net/bonding/bond_main.c  | 24 +-----------------------
 drivers/net/ipvlan/ipvlan_main.c | 22 +---------------------
 drivers/net/macvlan.c            | 11 +----------
 drivers/net/ppp/ppp_generic.c    |  6 +-----
 drivers/net/team/team.c          | 21 +--------------------
 drivers/net/vrf.c                |  2 +-
 include/linux/netdevice.h        | 17 +++++++++++++++++
 include/net/sch_generic.h        |  6 +++++-
 net/bluetooth/6lowpan.c          | 15 +--------------
 net/ieee802154/6lowpan/core.c    | 16 +---------------
 net/l2tp/l2tp_eth.c              |  6 +-----
 net/sched/sch_generic.c          |  4 ++--
 12 files changed, 33 insertions(+), 117 deletions(-)

-- 
2.8.0.rc3.226.g39d4020

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ