[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100527074715.743f7420@nehalam>
Date: Thu, 27 May 2010 07:47:15 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: Jiri Pirko <jpirko@...hat.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, kaber@...sh.net,
eric.dumazet@...il.com
Subject: Re: [PATCH net-next-2.6] net: replace hooks in __netif_receive_skb
On Thu, 27 May 2010 15:49:36 +0200
Jiri Pirko <jpirko@...hat.com> wrote:
> What this patch does is it removes two receive frame hooks (for bridge and for
> macvlan) from __netif_receive_skb. These are replaced them with a general
> list of rx_handlers which is iterated thru instead.
>
> Then a network driver (of virtual netdev like macvlan or bridge) can register
> an rx_handler for needed net device to be called from __netif_receive_skb.
>
> Signed-off-by: Jiri Pirko <jpirko@...hat.com>
This is almost identical to my previous RFC but it is per device.
Why bother with a rx handler lock, why not just use RTNL since the
hook should only be changed from control operations.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists