lkml.org 
[lkml]   [1999]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] ipconfig
I sent this patch to linux-kernel some month ago.

The line it modifies is the only preventing one from booting
with nfsroot over pointopoint links (i tested it only for
PLIP, however, but it should work even with SLIP).

diff --recursive -u linux/net/ipv4/ipconfig.c linux-proc/net/ipv4/ipconfig.c
--- linux/net/ipv4/ipconfig.c Sun May 9 01:19:35 1999
+++ linux-proc/net/ipv4/ipconfig.c Sat May 8 19:28:11 1999
@@ -115,7 +115,7 @@
for (dev = dev_base; dev; dev = dev->next)
if (user_dev_name[0] ? !strcmp(dev->name, user_dev_name) :
(!(dev->flags & IFF_LOOPBACK) &&
- (dev->flags & (IFF_POINTOPOINT|IFF_BROADCAST)) &&
+ (dev->flags & (IFF_POINTOPOINT)) &&
strncmp(dev->name, "dummy", 5))) {
int able = 0;
if (dev->mtu >= 364)
I think it would be reasonable to put it into the official Linux tree.

Thank you for your attention.

-Michele

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.134 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site