diff options
author | Jiri Pirko <jpirko@redhat.com> | 2010-06-10 03:34:59 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-15 11:47:11 -0700 |
commit | 93e2c32b5cb2ad92ceb1d7a4684f20a0d25bf530 (patch) | |
tree | c15af2642af01702097ade735506d15d7a910c54 /net/bridge/br_if.c | |
parent | 91d2c34a4eed32876ca333b0ca44f3bc56645805 (diff) | |
download | lwn-93e2c32b5cb2ad92ceb1d7a4684f20a0d25bf530.tar.gz lwn-93e2c32b5cb2ad92ceb1d7a4684f20a0d25bf530.zip |
net: add rx_handler data pointer
Add possibility to register rx_handler data pointer along with a rx_handler.
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_if.c')
-rw-r--r-- | net/bridge/br_if.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_if.c b/net/bridge/br_if.c index 97ac9da4d76c..0d142ed0bbe3 100644 --- a/net/bridge/br_if.c +++ b/net/bridge/br_if.c @@ -433,7 +433,7 @@ int br_add_if(struct net_bridge *br, struct net_device *dev) rcu_assign_pointer(dev->br_port, p); - err = netdev_rx_handler_register(dev, br_handle_frame); + err = netdev_rx_handler_register(dev, br_handle_frame, NULL); if (err) goto err4; |