netdev
[Top] [All Lists]

RE: Why is packet socket checked before bridge in netif_receive_skb?

To: "David S. Miller" <davem@xxxxxxxxxxxxx>
Subject: RE: Why is packet socket checked before bridge in netif_receive_skb?
From: "Simon Barber" <simon@xxxxxxxxxxxxxxx>
Date: Tue, 2 Aug 2005 11:30:40 -0700
Cc: <netdev@xxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
Thread-index: AcWSHF0Gj4AD5v6YSY+jjFOmaI5EVQFc7Jbw
Thread-topic: Why is packet socket checked before bridge in netif_receive_skb?
Ah - OK, so I guess it is an artifact of the reuse of the protocol
handler structures that means that some packet sockets see frames before
the bridge and others after. I guess this doesn't cause any problems.

Simon


-----Original Message-----
From: David S. Miller [mailto:davem@xxxxxxxxxxxxx] 
Sent: Tuesday, July 26, 2005 12:59 PM
To: Simon Barber
Cc: netdev@xxxxxxxxxxx
Subject: Re: Why is packet socket checked before bridge in
netif_receive_skb?

From: "Simon Barber" <simon@xxxxxxxxxxxxxxx>
Subject: Why is packet socket checked before bridge in
netif_receive_skb?
Date: Tue, 26 Jul 2005 11:03:17 -0700

> The protocol handlers are also used to implement packet sockets. - Why
> is the all handler checked before the bridge hook?

Because we want packet sniffers to see the packet before the
bridging layer decapsulates it.


<Prev in Thread] Current Thread [Next in Thread>
  • RE: Why is packet socket checked before bridge in netif_receive_skb?, Simon Barber <=