diff options
| author | Phil Sutter <[email protected]> | 2025-05-21 20:44:33 +0000 |
|---|---|---|
| committer | Pablo Neira Ayuso <[email protected]> | 2025-05-23 11:57:14 +0000 |
| commit | 465b9ee0ee7bc268d7f261356afd6c4262e48d82 (patch) | |
| tree | 699278d521cf7e7c23e91f004d718da349c96340 /net/core/dev_api.c | |
| parent | netfilter: nf_tables: Support wildcard netdev hook specs (diff) | |
| download | kernel-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
