lkml.org 
[lkml]   [2011]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectPreparation for Linux 3.0
From
Date
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.
done.
Starting portmap daemon: portmap.



I guess this program is doing something like below.

if grep -q ^2.6 /proc/sys/kernel/osrelease
then
do ioctl for 2.6 kernels
else
do ioctl for 2.4 kernels
fi

We need to widely announce that userland applications using branches based on
/proc/sys/kernel/osrelease need to be fixed.

Regards.


\
 
 \ /
  Last update: 2011-06-02 05:53    [W:0.055 / U:26.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site