From: Vividh Siddha <vividh@ipinfusion.com>
Date: Wed, 09 Oct 2002 15:33:09 -0700
It first calls devinet_ioctl() with cmd as SIOCSIFADDR. In this we reset
netmask and broadcast address.
I understand now.
But, I believe that this resetting of the netmask/broadcast address
is required behavior for this SIOCSIFADDR ioctl.
You can use rtnetlink messages to do this more precisely
(f.e. via a tool such as 'ip') and thus to avoid the excessive
netlink messages.
After scanning relevant portions of Stevens Volume II, it seems
the code you are deleting are required behavior of these ioctls
and it is how BSD behaves.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:34 EST