diff -NurpP --minimal linux-2.6.16-vs2.0.2-rc16/net/ipv4/devinet.c linux-2.6.16-vs2.0.2-rc16.1/net/ipv4/devinet.c --- linux-2.6.16-vs2.0.2-rc16/net/ipv4/devinet.c 2006-04-14 04:22:28 +0200 +++ linux-2.6.16-vs2.0.2-rc16.1/net/ipv4/devinet.c 2006-04-17 20:56:32 +0200 @@ -529,33 +529,6 @@ static __inline__ int inet_abc_len(u32 a return rc; } -/* - Check that a device is not member of the ipv4root assigned to the process - Return true if this is the case - - If the process is not bound to specific IP, then it returns 0 (all - interface are fine). -*/ -static inline int devinet_notiproot (struct in_ifaddr *ifa) -{ - int ret = 0; - struct nx_info *nxi; - - if ((nxi = current->nx_info)) { - int i; - int nbip = nxi->nbipv4; - __u32 addr = ifa->ifa_local; - ret = 1; - for (i=0; iipv4[i] == addr) { - ret = 0; - break; - } - } - } - return ret; -} - int devinet_ioctl(unsigned int cmd, void __user *arg) {