| To: | "John W. Linville" <linville@xxxxxxxxxxxxx> |
|---|---|
| Subject: | RE: Why is packet socket checked before bridge in netif_receive_skb? |
| From: | "Simon Barber" <simon@xxxxxxxxxxxxxxx> |
| Date: | Tue, 26 Jul 2005 11:25:02 -0700 |
| Cc: | <netdev@xxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| Thread-index: | AcWSDoDgjwiaiMSoR2O6TR3lgr81HgAAEKGw |
| Thread-topic: | Why is packet socket checked before bridge in netif_receive_skb? |
The odd thing is that the 'all protocols' handlers are checked before the bridge hook, but the protocol type specific handlers are checked after. Hence if you bind your packet socket to 'all' protocols you get packets before bridging, but if you bind to a specific protocol you get packets after the bridge hook. Simon -----Original Message----- From: John W. Linville [mailto:linville@xxxxxxxxxxxxx] Sent: Tuesday, July 26, 2005 11:19 AM To: Simon Barber Cc: netdev@xxxxxxxxxxx Subject: Re: Why is packet socket checked before bridge in netif_receive_skb? On Tue, Jul 26, 2005 at 11:03:17AM -0700, Simon Barber wrote: > The protocol handlers are also used to implement packet sockets. - Why > is the all handler checked before the bridge hook? Perhaps so that one can look at frames entering on a specific interface rather than the bridge as a whole? John -- John W. Linville linville@xxxxxxxxxxxxx |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Why is packet socket checked before bridge in netif_receive_skb?, John W. Linville |
|---|---|
| Next by Date: | Re: Why is packet socket checked before bridge in netif_receive_skb?, David S. Miller |
| Previous by Thread: | Re: Why is packet socket checked before bridge in netif_receive_skb?, David S. Miller |
| Next by Thread: | RE: Why is packet socket checked before bridge in netif_receive_skb?, Simon Barber |
| Indexes: | [Date] [Thread] [Top] [All Lists] |