]> err.no Git - linux-2.6/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)
commitdcab5e1eeccf5e226c771ecc013631cde157435f
treed0e6f0c63caee92c8ac86d24fb280a0c65be11d9
parent95df1c04ab3f7ca617774930df62c0893a188c2c
[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