mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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 <[email protected]> Reviewed-by: Ido Schimmel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
9046a745e2
commit
503eebc265
5 changed files with 10 additions and 7 deletions
|
|
@ -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));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue