aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/dev_api.c
diff options
context:
space:
mode:
authorPhil Sutter <[email protected]>2025-05-21 20:44:33 +0000
committerPablo Neira Ayuso <[email protected]>2025-05-23 11:57:14 +0000
commit465b9ee0ee7bc268d7f261356afd6c4262e48d82 (patch)
tree699278d521cf7e7c23e91f004d718da349c96340 /net/core/dev_api.c
parentnetfilter: nf_tables: Support wildcard netdev hook specs (diff)
downloadkernel-465b9ee0ee7bc268d7f261356afd6c4262e48d82.tar.gz
kernel-465b9ee0ee7bc268d7f261356afd6c4262e48d82.zip
netfilter: nf_tables: Add notifications for hook changes
Notify user space if netdev hooks are updated due to netdev add/remove events. Send minimal notification messages by introducing NFT_MSG_NEWDEV/DELDEV message types describing a single device only. Upon NETDEV_CHANGENAME, the callback has no information about the interface's old name. To provide a clear message to user space, include the hook's stored interface name in the notification. Signed-off-by: Phil Sutter <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'net/core/dev_api.c')
0 files changed, 0 insertions, 0 deletions