]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipv4: Notify about changes to ip_forward_update_priority
authorPetr Machata <petrm@mellanox.com>
Tue, 31 Jul 2018 22:36:42 +0000 (00:36 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Aug 2018 16:52:30 +0000 (09:52 -0700)
commitbc3701f0a06d882d051293f57599aaa0fd20e750
treee996b01d0941cbf65c04774c4ae2c999511bb547
parentae5de211f0d1f1b6d31382544b5dc111673fb0a5
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>
include/net/netevent.h
net/ipv4/sysctl_net_ipv4.c