aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/netevent.h
diff options
context:
space:
mode:
authorPetr Machata <petrm@mellanox.com>2018-08-01 00:36:42 +0200
committerDavid S. Miller <davem@davemloft.net>2018-08-01 09:52:30 -0700
commitd18c5d1995aa322b722fa731397e28ebcd00b3c6 (patch)
treee996b01d0941cbf65c04774c4ae2c999511bb547 /include/net/netevent.h
parentnet: ipv4: Control SKB reprioritization after forwarding (diff)
downloadlinux-dev-d18c5d1995aa322b722fa731397e28ebcd00b3c6.tar.xz
linux-dev-d18c5d1995aa322b722fa731397e28ebcd00b3c6.zip
net: ipv4: Notify about changes to ip_forward_update_priority
Drivers may make offloading decision based on whether ip_forward_update_priority is enabled or not. Therefore distribute netevent notifications to give them a chance to react to a change. Signed-off-by: Petr Machata <petrm@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netevent.h')
-rw-r--r--include/net/netevent.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netevent.h b/include/net/netevent.h
index d9918261701c..4107016c3bb4 100644
--- a/include/net/netevent.h
+++ b/include/net/netevent.h
@@ -28,6 +28,7 @@ enum netevent_notif_type {
NETEVENT_DELAY_PROBE_TIME_UPDATE, /* arg is struct neigh_parms ptr */
NETEVENT_IPV4_MPATH_HASH_UPDATE, /* arg is struct net ptr */
NETEVENT_IPV6_MPATH_HASH_UPDATE, /* arg is struct net ptr */
+ NETEVENT_IPV4_FWD_UPDATE_PRIORITY_UPDATE, /* arg is struct net ptr */
};
int register_netevent_notifier(struct notifier_block *nb);