netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: Vishwas Manral <Vishwas@sinett.com>,
	"'netdev@oss.sgi.com'" <netdev@oss.sgi.com>
Subject: Re: small change
Date: Tue, 28 Sep 2004 09:52:44 -0700	[thread overview]
Message-ID: <415996DC.4030509@candelatech.com> (raw)
In-Reply-To: <BB6D74C75CC76A419B6D6FA7C38317B23CEF03@sinett-sbs.SiNett.LAN>

Vishwas Manral wrote:
> Hi Ben,
> 
> I am going through the 2.4 code. We can make small changes in br_input.c
> to make the code slightly better and slightly more optimized. Maybe when
> you are changing something else you can club it along.

Please send this to the netdev mailing list:

netdev@oss.sgi.com

I don't maintain the bridging code but there are people on
that list who do.

They would also prefer a unified diff instead of the cut-n-paste
like you sent.

Thanks,
Ben


> 
> Thanks,
> Vishwas
> 
> ========================================================================
> =======
> Change from ->
> 
>  87         if (dst != NULL && dst->is_local) {
>  88                 if (!passedup)
>  89                         br_pass_frame_up(br, skb);
>  90                 else
>  91                         kfree_skb(skb);
>  92                 br_fdb_put(dst);
>  93                 goto out;
>  94         }
>  95 
>  96         if (dst != NULL) {
>  97                 br_forward(dst->dst, skb);
>  98                 br_fdb_put(dst);
>  99                 goto out;
> 100         }
> 
> To ->
> 
>  87         if (dst != NULL) {
>                 if(dst->is_local) {
>  88                 if (!passedup)
>  89                         br_pass_frame_up(br, skb);
>  90                 else
>  91                         kfree_skb(skb);
>                  } else {
>  97                 br_forward(dst->dst, skb);
>                  }
>  92              br_fdb_put(dst);
>  93              goto out;
>  94         }
> 
> 


-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

       reply	other threads:[~2004-09-28 16:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <BB6D74C75CC76A419B6D6FA7C38317B23CEF03@sinett-sbs.SiNett.LAN>
2004-09-28 16:52 ` Ben Greear [this message]
2004-09-28 18:06   ` small change Jeff Garzik

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=415996DC.4030509@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=Vishwas@sinett.com \
    --cc=netdev@oss.sgi.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;
as well as URLs for NNTP newsgroup(s).