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)
commit5f02ce24c2696fec33f2a5dfcf753996f5fdd211
tree123e0a2518f4a18e5d0b59c6e3442c5f355b23f5
parenta8e3e1a9f02094145580ea7920c6a1d9aabd5539
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