]> git.baikalelectronics.ru Git - kernel.git/commit
[IPV4]: Fix setting broadcast for SIOCSIFNETMASK
authorDavid Engel <gigem@comcast.net>
Sat, 22 Oct 2005 03:09:16 +0000 (22:09 -0500)
committerArnaldo Carvalho de Melo <acme@mandriva.com>
Wed, 26 Oct 2005 03:20:21 +0000 (01:20 -0200)
commit9058bcd209b5d2943e624008be491df630d4afd9
treed0e6f0c63caee92c8ac86d24fb280a0c65be11d9
parentdaf3e8d46e570e7863941b2a47b7637a8d303616
[IPV4]: Fix setting broadcast for SIOCSIFNETMASK

Fix setting of the broadcast address when the netmask is set via
SIOCSIFNETMASK in Linux 2.6.  The code wanted the old value of
ifa->ifa_mask but used it after it had already been overwritten with
the new value.

Signed-off-by: David Engel <gigem@comcast.net>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
net/ipv4/devinet.c