* Re: small change
[not found] <BB6D74C75CC76A419B6D6FA7C38317B23CEF03@sinett-sbs.SiNett.LAN>
@ 2004-09-28 16:52 ` Ben Greear
2004-09-28 18:06 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Ben Greear @ 2004-09-28 16:52 UTC (permalink / raw)
To: Vishwas Manral, 'netdev@oss.sgi.com'
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: small change
2004-09-28 16:52 ` small change Ben Greear
@ 2004-09-28 18:06 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2004-09-28 18:06 UTC (permalink / raw)
To: Ben Greear, Vishwas Manral; +Cc: 'netdev@oss.sgi.com'
Ben Greear wrote:
> 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.
Regarding submission of patches, more specifically:
http://linux.yyz.us/patch-format.html
http://www.zip.com.au/~akpm/linux/patches/stuff/tpp.txt
and Documentation/SubmittingPatches in the kernel tree.
Jeff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-09-28 18:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <BB6D74C75CC76A419B6D6FA7C38317B23CEF03@sinett-sbs.SiNett.LAN>
2004-09-28 16:52 ` small change Ben Greear
2004-09-28 18:06 ` Jeff Garzik
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).