diff options
author | Jiri Pirko <jiri@mellanox.com> | 2016-07-05 12:27:37 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-05 19:06:28 +0300 |
commit | 503eebc265dcf5c512454fd5a6b6673ea4f1d7f2 (patch) | |
tree | c1d66bfa44f67121373f4ea98a4857e5645a17eb /net/ieee802154/6lowpan/core.c | |
parent | 9046a745e29aa4c7e4f1dda3a50199dbe62fc9e8 (diff) | |
download | linux-503eebc265dcf5c512454fd5a6b6673ea4f1d7f2.tar.xz |
net: add dev arg to ndo_neigh_construct/destroy
As the following patch will allow upper devices to follow the call down
lower devices, we need to add dev here and not rely on n->dev.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ieee802154/6lowpan/core.c')
-rw-r--r-- | net/ieee802154/6lowpan/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ieee802154/6lowpan/core.c b/net/ieee802154/6lowpan/core.c index 8c004a0c8d64..935ab932e841 100644 --- a/net/ieee802154/6lowpan/core.c +++ b/net/ieee802154/6lowpan/core.c @@ -81,7 +81,7 @@ static int lowpan_stop(struct net_device *dev) return 0; } -static int lowpan_neigh_construct(struct neighbour *n) +static int lowpan_neigh_construct(struct net_device *dev, struct neighbour *n) { struct lowpan_802154_neigh *neigh = lowpan_802154_neigh(neighbour_priv(n)); |