summaryrefslogtreecommitdiff
path: root/net/bridge/br_if.c
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2010-06-10 07:34:59 +0400
committerDavid S. Miller <davem@davemloft.net>2010-06-15 22:47:11 +0400
commit93e2c32b5cb2ad92ceb1d7a4684f20a0d25bf530 (patch)
treec15af2642af01702097ade735506d15d7a910c54 /net/bridge/br_if.c
parent91d2c34a4eed32876ca333b0ca44f3bc56645805 (diff)
downloadlinux-93e2c32b5cb2ad92ceb1d7a4684f20a0d25bf530.tar.xz
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.c2
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;