From: "David S. Miller" <davem@redhat.com>
To: vividh@ipinfusion.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: PROBLEM: Interface address change netlink socket problem.(Patch attached)
Date: Wed, 09 Oct 2002 15:40:20 -0700 (PDT) [thread overview]
Message-ID: <20021009.154020.99148626.davem@redhat.com> (raw)
In-Reply-To: <3DA4AEA5.8090105@ipinfusion.com>
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.
prev parent reply other threads:[~2002-10-09 22:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-09 21:46 Vividh Siddha
2002-10-09 22:08 ` David S. Miller
2002-10-09 22:33 ` Vividh Siddha
2002-10-09 22:40 ` David S. Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021009.154020.99148626.davem@redhat.com \
--to=davem@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=vividh@ipinfusion.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®