Page MenuHomeFreeBSD

D34395.diff
No OneTemporary

D34395.diff

diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c
--- a/sys/netinet/raw_ip.c
+++ b/sys/netinet/raw_ip.c
@@ -780,9 +780,7 @@
rip_ctlinput(int cmd, struct sockaddr *sa, void *vip)
{
struct in_ifaddr *ia;
- struct ifnet *ifp;
int err;
- int flags;
NET_EPOCH_ASSERT();
@@ -817,12 +815,6 @@
if (ia == NULL || (ia->ia_flags & IFA_ROUTE))
return;
ifa_ref(&ia->ia_ifa);
- flags = RTF_UP;
- ifp = ia->ia_ifa.ifa_ifp;
-
- if ((ifp->if_flags & IFF_LOOPBACK)
- || (ifp->if_flags & IFF_POINTOPOINT))
- flags |= RTF_HOST;
err = ifa_del_loopback_route((struct ifaddr *)ia, sa);

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 16, 5:25 AM (19 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15820604
Default Alt Text
D34395.diff (610 B)

Event Timeline