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: <20100226163449.11434.13013.sendpatchset@x2.localnet>
Date:	Fri, 26 Feb 2010 17:34:49 +0100 (MET)
From:	Patrick McHardy <kaber@...sh.net>
To:	netdev@...r.kernel.org
Cc:	Patrick McHardy <kaber@...sh.net>
Subject: net: rtnetlink: support specifying device flags on device creation

The following patches add support to specify the device flags (like UP) when
creating a new device through rtnl_link. This requires to surpress netlink
notifications until the device is fully configured in order to not confuse
userspace when changing the flags fails and registration has to be undone.
Once the device is configured, a single NEWLINK message with the full state
is sent.

The individual patch changelogs describe the necessary changes in more detail.


 drivers/net/veth.c        |   15 +++--
 include/linux/netdevice.h |    9 ++-
 include/net/rtnetlink.h   |    2 +
 net/core/dev.c            |  171 +++++++++++++++++++++++++++++----------------
 net/core/rtnetlink.c      |   59 ++++++++++++----
 5 files changed, 176 insertions(+), 80 deletions(-)

Patrick McHardy (4):
      net: rtnetlink: ignore NETDEV_PRE_UP notifier in rtnetlink_event()
      net: rtnetlink: handle rtnl_link netlink notifications manually
      net: dev: support deferring device flag change notifications
      net: rtnetlink: support specifying device flags on device creation
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ