All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lars Knudsen <gandalf@revicon.com>
To: "Måns Rullgård" <mru@kth.se>
Cc: linux-kernel@vger.kernel.org
Subject: Re: SiS900 driver multicast problems and patch.
Date: Tue, 28 Oct 2003 10:35:20 +0100	[thread overview]
Message-ID: <3F9E3858.5030601@revicon.com> (raw)
In-Reply-To: <yw1xd6ch67sb.fsf@kth.se>

[-- Attachment #1: Type: text/plain, Size: 580 bytes --]

Måns Rullgård wrote:

>Lars Knudsen <gandalf@revicon.com> writes:
>
>  
>
>>After upgrading to kernel 2.4.22 we discovered that multicast was no
>>longer handled properly by the SiS900. Examining the changes between
>>2.4.19 and 2.4.22 it is clear that the handling of multicast was
>>changed but a bug was introduced.
>>    
>>
>
>Your patch is broken.  Long lines are wrapped, tabs are converted to
>spaces and it is reversed.
>  
>
Ah, the wonders of cut and paste and a mail program trying to be helpfull.
Here is an updated version. Sorry for the extra noise.

\Lars Knudsen

[-- Attachment #2: sispatch --]
[-- Type: text/plain, Size: 448 bytes --]

--- sis900.c.orig	Mon Oct 27 17:48:52 2003
+++ sis900.c	Mon Oct 27 17:49:36 2003
@@ -2101,9 +2101,8 @@
 		rx_mode = RFAAB;
 		for (i = 0, mclist = net_dev->mc_list; mclist && i < net_dev->mc_count;
 		     i++, mclist = mclist->next) {
-			unsigned int bit_nr =
-				sis900_mcast_bitnr(mclist->dmi_addr, revision);
-			mc_filter[bit_nr >> 4] |= (1 << bit_nr);
+			set_bit(sis900_mcast_bitnr(mclist->dmi_addr, revision),
+				mc_filter);
 		}
 	}
 

      reply	other threads:[~2003-10-28  9:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-28  8:40 SiS900 driver multicast problems and patch Lars Knudsen
2003-10-28  9:17 ` Måns Rullgård
2003-10-28  9:35   ` Lars Knudsen [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=3F9E3858.5030601@revicon.com \
    --to=gandalf@revicon.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mru@kth.se \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.