]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: Remove refnr arg when inserting link adjacencies
authorDavid Ahern <dsa@cumulusnetworks.com>
Tue, 18 Oct 2016 02:15:43 +0000 (19:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Oct 2016 15:44:58 +0000 (11:44 -0400)
commit790510d99f39cee7f275d001aa5024032ed9bb48
tree96e9d1bae0fb1c72de3c169728c8295fe47d4437
parent5921a0fcfd27582f016134dcf13302362cdf2c3c
net: Remove refnr arg when inserting link adjacencies

Commit 93409033ae65 ("net: Add netdev all_adj_list refcnt propagation to
fix panic") propagated the refnr to insert and remove functions tracking
the netdev adjacency graph. However, for the insert path the refnr can
only be 1. Accordingly, remove the refnr argument to make that clear.
ie., the refnr arg in 93409033ae65 was only needed for the remove path.

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c