History

net: ipv4: remove fib_info arg to fib_check_nh

fib_check_nh does not use the fib_info arg; remove t.

David Ahern committed 9 years ago

Commit fa8fefa1 parent c7c3e591 file · +3 −3Browse files

Unified · Split

net/ipv4/fib_semantics.c+3−3
@@ -766,8 +766,8 @@ bool fib_metrics_match(struct fib_config *cfg, struct fib_info *fi) · 765 unmodified lines
766 * |766 * |
767 * |-> {local prefix} (terminal node)767 * |-> {local prefix} (terminal node)
768 */768 */
769static int fib_check_nh(struct fib_config *cfg, struct fib_info *fi,769static int fib_check_nh(struct fib_config *cfg, struct fib_nh *nh,
770 struct fib_nh *nh, struct netlink_ext_ack *extack)770 struct netlink_ext_ack *extack)
771{771{
772 int err = 0;772 int err = 0;
773 struct net *net;773 struct net *net;
@@ -1250,7 +1250,7 @@ struct fib_info *fib_create_info(struct fib_config *cfg, · 476 unmodified lines
1250 int linkdown = 0;1250 int linkdown = 0;
1251 1251
1252 change_nexthops(fi) {1252 change_nexthops(fi) {
1253 err = fib_check_nh(cfg, fi, nexthop_nh, extack);1253 err = fib_check_nh(cfg, nexthop_nh, extack);
1254 if (err != 0)1254 if (err != 0)
1255 goto failure;1255 goto failure;
1256 if (nexthop_nh->nh_flags & RTNH_F_LINKDOWN)1256 if (nexthop_nh->nh_flags & RTNH_F_LINKDOWN)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t