]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-allow-per-net-notifier-to-follow-netdev-into-namespace'
authorDavid S. Miller <davem@davemloft.net>
Mon, 27 Jan 2020 10:03:44 +0000 (11:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jan 2020 10:03:44 +0000 (11:03 +0100)
commit5dd9b405e0e7f4132f8cac9f3adfd287b3d83e49
tree1b30b5e4c33fde74699a46fb49e7a289bbc2be67
parent65c85c9c89504ec828a5428a6e502ad1ab4ef586
parent874bbe946014bffd6fd84be56c9cda9583d3f5c5
Merge branch 'net-allow-per-net-notifier-to-follow-netdev-into-namespace'

Jiri Pirko says:

====================
net: allow per-net notifier to follow netdev into namespace

Currently we have per-net notifier, which allows to get only
notifications relevant to particular network namespace. That is enough
for drivers that have netdevs local in a particular namespace (cannot
move elsewhere).

However if netdev can change namespace, per-net notifier cannot be used.
Introduce dev_net variant that is basically per-net notifier with an
extension that re-registers the per-net notifier upon netdev namespace
change. Basically the per-net notifier follows the netdev into
namespace.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>