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 /drivers | |
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 'drivers')
-rw-r--r-- | drivers/net/macvlan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c index 59c315556a30..87a3bf69c4a3 100644 --- a/drivers/net/macvlan.c +++ b/drivers/net/macvlan.c | |||
@@ -532,7 +532,7 @@ static int macvlan_port_create(struct net_device *dev) | |||
532 | INIT_HLIST_HEAD(&port->vlan_hash[i]); | 532 | INIT_HLIST_HEAD(&port->vlan_hash[i]); |
533 | rcu_assign_pointer(dev->macvlan_port, port); | 533 | rcu_assign_pointer(dev->macvlan_port, port); |
534 | 534 | ||
535 | err = netdev_rx_handler_register(dev, macvlan_handle_frame); | 535 | err = netdev_rx_handler_register(dev, macvlan_handle_frame, NULL); |
536 | if (err) { | 536 | if (err) { |
537 | rcu_assign_pointer(dev->macvlan_port, NULL); | 537 | rcu_assign_pointer(dev->macvlan_port, NULL); |
538 | kfree(port); | 538 | kfree(port); |