]> git.baikalelectronics.ru Git - kernel.git/commit
net: devinet: Add support for RTM_DELNETCONF
authorDavid Ahern <dsa@cumulusnetworks.com>
Tue, 28 Mar 2017 21:28:03 +0000 (14:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Mar 2017 05:32:42 +0000 (22:32 -0700)
commit52f3a23c3f4c1085bb62390c5d2265df55954b94
tree060f381cbc580619836a2742fecb3dd3647bd5ba
parentb71958363f3a15e9c2af813321a60fa640a95ffe
net: devinet: Add support for RTM_DELNETCONF

Send RTM_DELNETCONF notifications when a device is deleted. The message only
needs the device index, so modify inet_netconf_fill_devconf to skip devconf
references if it is NULL.

Allows a userspace cache to remove entries as devices are deleted.

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/devinet.c