]> git.baikalelectronics.ru Git - kernel.git/commit
net: l3mdev: Allow the l3mdev to be a loopback
authorDavid Ahern <dsa@cumulusnetworks.com>
Sat, 10 Sep 2016 19:09:54 +0000 (12:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Sep 2016 06:12:52 +0000 (23:12 -0700)
commita71905deabb888c2a0a481bf6deb9b474eceb319
tree123e0a2518f4a18e5d0b59c6e3442c5f355b23f5
parent9b432d1dd9cb787196a1ef61ea2de4d5847b9a1c
net: l3mdev: Allow the l3mdev to be a loopback

Allow an L3 master device to act as the loopback for that L3 domain.
For IPv4 the device can also have the address 127.0.0.1.

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/l3mdev.h
net/ipv4/route.c
net/ipv6/route.c