]> git.baikalelectronics.ru Git - kernel.git/commit
net/ipv4: Add support for dumping addresses for a specific device
authorDavid Ahern <dsahern@gmail.com>
Fri, 19 Oct 2018 19:45:29 +0000 (12:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Oct 2018 02:33:29 +0000 (19:33 -0700)
commit5bf3c21db4cb022554edcc321245f609b27c9eac
treebb7d61b61e1ed7ecde68be91d03847b420581200
parenta1346e391ffafb2cdae4ce172200f9dbb2148d26
net/ipv4: Add support for dumping addresses for a specific device

If an RTM_GETADDR dump request has ifa_index set in the ifaddrmsg
header, then return only the addresses for that device.

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