netdev
[Top] [All Lists]

Re: [PATCH] fix oops when mangling and brouting and tcpdumping packets (

To: Stephen Hemminger <shemminger@xxxxxxxx>
Subject: Re: [PATCH] fix oops when mangling and brouting and tcpdumping packets (revised)
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Wed, 25 Aug 2004 16:51:39 -0700
Cc: bdschuym@xxxxxxxxxx, netdev@xxxxxxxxxxx, bridge@xxxxxxxx
In-reply-to: <20040825141539.08ca19b8@xxxxxxxxxxxxxxxxxxxxx>
References: <20040825141539.08ca19b8@xxxxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Wed, 25 Aug 2004 14:15:39 -0700
Stephen Hemminger <shemminger@xxxxxxxx> wrote:

> The ebtables brouting chain, traversed through the call
> br_should_route_hook(), can alter a packet. The redirect target
> does this, f.e., to change the MAC destination.
> 
> Bart discovered this and proposed a patch; this is a revised version.
> This version cleans up the handle_bridge code in net/core/dev.c as well
> as getting rid of extra rcu_read_lock and only does the br_port checking
> once.

Looks good, applied.

<Prev in Thread] Current Thread [Next in Thread>