From: David S. Miller Date: Mon, 27 Jan 2020 10:03:44 +0000 (+0100) Subject: Merge branch 'net-allow-per-net-notifier-to-follow-netdev-into-namespace' X-Git-Tag: v5.6-rc1~151^2~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=09917a126d5babd9d0d9bee8ee2c5fc8517851e6;p=thirdparty%2Flinux.git 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 --- 09917a126d5babd9d0d9bee8ee2c5fc8517851e6