diff options
author | Jiri Pirko <jpirko@redhat.com> | 2010-06-09 23:34:59 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-15 14:47:11 -0400 |
commit | 93e2c32b5cb2ad92ceb1d7a4684f20a0d25bf530 (patch) | |
tree | c15af2642af01702097ade735506d15d7a910c54 /net/bridge/br_if.c | |
parent | 91d2c34a4eed32876ca333b0ca44f3bc56645805 (diff) |
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) | |||
433 | 433 | ||
434 | rcu_assign_pointer(dev->br_port, p); | 434 | rcu_assign_pointer(dev->br_port, p); |
435 | 435 | ||
436 | err = netdev_rx_handler_register(dev, br_handle_frame); | 436 | err = netdev_rx_handler_register(dev, br_handle_frame, NULL); |
437 | if (err) | 437 | if (err) |
438 | goto err4; | 438 | goto err4; |
439 | 439 | ||