summaryrefslogtreecommitdiffstats
path: root/sys/net/if_llatbl.c
diff options
context:
space:
mode:
authorqingli <qingli@FreeBSD.org>2009-09-05 20:24:37 +0000
committerqingli <qingli@FreeBSD.org>2009-09-05 20:24:37 +0000
commit5b9cf14b541867aeeeabf34edade1a0f5c528580 (patch)
tree23e5204856c079440b9f1c66f4db0b5f98d03023 /sys/net/if_llatbl.c
parentfb643392b2cef85ef9905fe0bedb32bd926fe9dc (diff)
downloadFreeBSD-src-5b9cf14b541867aeeeabf34edade1a0f5c528580.zip
FreeBSD-src-5b9cf14b541867aeeeabf34edade1a0f5c528580.tar.gz
The addresses that are assigned to the loopback interface
should be part of the kernel routing table. Reviewed by: bz MFC after: immediately
Diffstat (limited to 'sys/net/if_llatbl.c')
-rw-r--r--sys/net/if_llatbl.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/net/if_llatbl.c b/sys/net/if_llatbl.c
index fb94f73..b66d6e1 100644
--- a/sys/net/if_llatbl.c
+++ b/sys/net/if_llatbl.c
@@ -263,15 +263,6 @@ lla_rt_output(struct rt_msghdr *rtm, struct rt_addrinfo *info)
__func__, dl->sdl_index);
return EINVAL;
}
- if (ifp->if_flags & IFF_LOOPBACK) {
- struct ifaddr *ia;
- ia = ifa_ifwithaddr(dst);
- if (ia != NULL) {
- ifp = ia->ifa_ifp;
- ifa_free(ia);
- } else
- return EINVAL;
- }
switch (rtm->rtm_type) {
case RTM_ADD:
OpenPOWER on IntegriCloud