netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [Bugme-new] [Bug 7254] New: leaving IP multicast group with incorrect imr_address unexpectedly succeeded
       [not found] <200610031440.k93Ee4pP018478@fire-2.osdl.org>
@ 2006-10-03 17:07 ` Andrew Morton
  2006-10-03 18:33   ` David Stevens
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Morton @ 2006-10-03 17:07 UTC (permalink / raw)
  To: netdev
  Cc: bugme-daemon@kernel-bugs.osdl.org, Konstantin.Petrov,
	Alexandra.Kossovsky

On Tue, 3 Oct 2006 07:40:04 -0700
bugme-daemon@bugzilla.kernel.org wrote:

> http://bugzilla.kernel.org/show_bug.cgi?id=7254
> 
>            Summary: leaving IP multicast group with incorrect imr_address
>                     unexpectedly succeeded
>     Kernel Version: 2.6.18
>             Status: NEW
>           Severity: normal
>              Owner: shemminger@osdl.org
>          Submitter: Konstantin.Petrov@oktetlabs.ru
>                 CC: Alexandra.Kossovsky@oktetlabs.ru
> 
> 
> Most recent kernel where this bug did not occur:
> Distribution:
> Hardware Environment: P4 PC
> Software Environment:
> Problem Description:
> 
> When trying to leave IP multicast group with
> incorrect imr_address we expect function
> setsockopt(s, SOL_IP, IP_DROP_MEMBERSHIP, ip_mreq)
> to fail with ERRNO EADDRNOTAVAIL, but it succeeds.
> 
> Steps to reproduce:
> 1) Join socket to IP multicast group
> 2) Using incorrerct imr_address try to leave 
>    IP multicast group
> 
> Note:
> Probably function ip_mc_leave_group(...) in the
> file /net/ipv4/igmp.c "forgets" to check imr_address when
> imr_ifindex is OK.
> 
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug, or are watching someone who is.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bugme-new] [Bug 7254] New: leaving IP multicast group with incorrect imr_address unexpectedly succeeded
  2006-10-03 17:07 ` [Bugme-new] [Bug 7254] New: leaving IP multicast group with incorrect imr_address unexpectedly succeeded Andrew Morton
@ 2006-10-03 18:33   ` David Stevens
  2006-10-03 20:47     ` David Miller
  0 siblings, 1 reply; 3+ messages in thread
From: David Stevens @ 2006-10-03 18:33 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Alexandra.Kossovsky, bugme-daemon@kernel-bugs.osdl.org,
	Konstantin.Petrov, netdev

If the index is set, it doesn't look up the address (which may be 
expensive).
If you want to look up by address, the index must be 0.

I wouldn't  call that a bug.

                                        +-DLS


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bugme-new] [Bug 7254] New: leaving IP multicast group with incorrect imr_address unexpectedly succeeded
  2006-10-03 18:33   ` David Stevens
@ 2006-10-03 20:47     ` David Miller
  0 siblings, 0 replies; 3+ messages in thread
From: David Miller @ 2006-10-03 20:47 UTC (permalink / raw)
  To: dlstevens
  Cc: akpm, Alexandra.Kossovsky, bugme-daemon, Konstantin.Petrov,
	netdev

From: David Stevens <dlstevens@us.ibm.com>
Date: Tue, 3 Oct 2006 11:33:07 -0700

> If the index is set, it doesn't look up the address (which may be 
> expensive).
> If you want to look up by address, the index must be 0.
> 
> I wouldn't  call that a bug.

Me neither, Andrew please close this. :)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-10-03 20:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200610031440.k93Ee4pP018478@fire-2.osdl.org>
2006-10-03 17:07 ` [Bugme-new] [Bug 7254] New: leaving IP multicast group with incorrect imr_address unexpectedly succeeded Andrew Morton
2006-10-03 18:33   ` David Stevens
2006-10-03 20:47     ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).