| To: | Ville Nuorvala <vnuorval@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 1/2] IPv6: stricter checks on link-locals in bind and sendmsg |
| From: | "David S. Miller" <davem@xxxxxxxxxx> |
| Date: | Mon, 19 Jan 2004 21:33:50 -0800 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <Pine.LNX.4.58.0401140959270.23925@rhea.tcs.hut.fi> |
| References: | <Pine.LNX.4.58.0401140959270.23925@rhea.tcs.hut.fi> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Wed, 14 Jan 2004 10:35:11 +0200 (EET) Ville Nuorvala <vnuorval@xxxxxxxxxx> wrote: > I found a couple of suspected bugs related to (source) address > handling while rummaging around the code... > > When binding to a link-local address, inet6_bind() and raw6_bind() only > check that an interface is specified and that the address exists, but > they don't check if it actually exists on the specified interface. > > Similarly, in datagram_sent_ctl() we don't check for the possibility of a > link-local address when we receive the source address from userspace. Applied, thanks Ville. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] more improvement to dev_alloc_name -- strnchr, David S. Miller |
|---|---|
| Next by Date: | Males last all nite over and over again, Lloyd Barry |
| Previous by Thread: | [PATCH 1/2] IPv6: stricter checks on link-locals in bind and sendmsg, Ville Nuorvala |
| Next by Thread: | del_timer_sync() synchronization rules, Mendelson, Tsippy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |