Preparation for Linux 3.0
From: Tetsuo Handa
Date: Wed Jun 01 2011 - 23:50:52 EST
I noticed that commit 55922c9d "Linux 3.0-rc1" caused
dhcp-client 2.0pl5-19.1sarge3 (in Debian Sarge) to report SIOCSIFNETMASK and
SIOCSIFBRDADDR errors (though, it seems to me that these errors are not
affecting the functionality).
Setting up IP spoofing protection: rp_filter.
Configuring network interfaces...Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.
Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html
[ 21.081635] pcnet32 0000:02:00.0: eth0: link up
SIOCSIFNETMASK: Cannot assign requested address
SIOCSIFBRDADDR: Cannot assign requested address
Listening on LPF/eth0/00:0c:29:9e:eb:32
Sending on LPF/eth0/00:0c:29:9e:eb:32
Sending on Socket/fallback/fallback-net
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPOFFER from 192.168.1.254
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.254
bound to 192.168.1.128 -- renewal in 43200 seconds.
Starting portmap daemon: portmap.
I guess this program is doing something like below.
if grep -q ^2.6 /proc/sys/kernel/osrelease
do ioctl for 2.6 kernels
do ioctl for 2.4 kernels
We need to widely announce that userland applications using branches based on
/proc/sys/kernel/osrelease need to be fixed.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/