Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: Rename lookup_neigh_params function

Rename lookup_neigh_params to lookup_neigh_parms as the struct is named
neigh_parms and all other functions dealing with the struct carry
neigh_parms in their names.

Signed-off-by: Tobias Klauser <klto@zhaw.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Tobias Klauser and committed by
David S. Miller
97fd5bc7 8e321c4f

+3 -3
+3 -3
net/core/neighbour.c
··· 1316 1316 } 1317 1317 EXPORT_SYMBOL(pneigh_enqueue); 1318 1318 1319 - static inline struct neigh_parms *lookup_neigh_params(struct neigh_table *tbl, 1319 + static inline struct neigh_parms *lookup_neigh_parms(struct neigh_table *tbl, 1320 1320 struct net *net, int ifindex) 1321 1321 { 1322 1322 struct neigh_parms *p; ··· 1337 1337 struct net *net = dev_net(dev); 1338 1338 const struct net_device_ops *ops = dev->netdev_ops; 1339 1339 1340 - ref = lookup_neigh_params(tbl, net, 0); 1340 + ref = lookup_neigh_parms(tbl, net, 0); 1341 1341 if (!ref) 1342 1342 return NULL; 1343 1343 ··· 1906 1906 if (tbp[NDTPA_IFINDEX]) 1907 1907 ifindex = nla_get_u32(tbp[NDTPA_IFINDEX]); 1908 1908 1909 - p = lookup_neigh_params(tbl, net, ifindex); 1909 + p = lookup_neigh_parms(tbl, net, ifindex); 1910 1910 if (p == NULL) { 1911 1911 err = -ENOENT; 1912 1912 goto errout_tbl_lock;