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>
This commit is contained in:

zatwierdzone przez
David S. Miller

rodzic
9046a745e2
commit
503eebc265
@@ -286,7 +286,7 @@ static const struct neigh_ops clip_neigh_ops = {
|
||||
.connected_output = neigh_direct_output,
|
||||
};
|
||||
|
||||
static int clip_constructor(struct neighbour *neigh)
|
||||
static int clip_constructor(struct net_device *dev, struct neighbour *neigh)
|
||||
{
|
||||
struct atmarp_entry *entry = neighbour_priv(neigh);
|
||||
|
||||
|
Reference in New Issue
Block a user