diff options
Diffstat (limited to 'net/ipv4/fib_frontend.c')
-rw-r--r-- | net/ipv4/fib_frontend.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/ipv4/fib_frontend.c b/net/ipv4/fib_frontend.c index dc1f10ed1872..68c93d1bb03a 100644 --- a/net/ipv4/fib_frontend.c +++ b/net/ipv4/fib_frontend.c | |||
@@ -557,7 +557,7 @@ static int rtm_to_fib_config(struct net *net, struct sk_buff *skb, | |||
557 | cfg->fc_flags = rtm->rtm_flags; | 557 | cfg->fc_flags = rtm->rtm_flags; |
558 | cfg->fc_nlflags = nlh->nlmsg_flags; | 558 | cfg->fc_nlflags = nlh->nlmsg_flags; |
559 | 559 | ||
560 | cfg->fc_nlinfo.pid = NETLINK_CB(skb).pid; | 560 | cfg->fc_nlinfo.portid = NETLINK_CB(skb).portid; |
561 | cfg->fc_nlinfo.nlh = nlh; | 561 | cfg->fc_nlinfo.nlh = nlh; |
562 | cfg->fc_nlinfo.nl_net = net; | 562 | cfg->fc_nlinfo.nl_net = net; |
563 | 563 | ||
@@ -955,7 +955,7 @@ static void nl_fib_input(struct sk_buff *skb) | |||
955 | struct fib_result_nl *frn; | 955 | struct fib_result_nl *frn; |
956 | struct nlmsghdr *nlh; | 956 | struct nlmsghdr *nlh; |
957 | struct fib_table *tb; | 957 | struct fib_table *tb; |
958 | u32 pid; | 958 | u32 portid; |
959 | 959 | ||
960 | net = sock_net(skb->sk); | 960 | net = sock_net(skb->sk); |
961 | nlh = nlmsg_hdr(skb); | 961 | nlh = nlmsg_hdr(skb); |
@@ -973,10 +973,10 @@ static void nl_fib_input(struct sk_buff *skb) | |||
973 | 973 | ||
974 | nl_fib_lookup(frn, tb); | 974 | nl_fib_lookup(frn, tb); |
975 | 975 | ||
976 | pid = NETLINK_CB(skb).pid; /* pid of sending process */ | 976 | portid = NETLINK_CB(skb).portid; /* pid of sending process */ |
977 | NETLINK_CB(skb).pid = 0; /* from kernel */ | 977 | NETLINK_CB(skb).portid = 0; /* from kernel */ |
978 | NETLINK_CB(skb).dst_group = 0; /* unicast */ | 978 | NETLINK_CB(skb).dst_group = 0; /* unicast */ |
979 | netlink_unicast(net->ipv4.fibnl, skb, pid, MSG_DONTWAIT); | 979 | netlink_unicast(net->ipv4.fibnl, skb, portid, MSG_DONTWAIT); |
980 | } | 980 | } |
981 | 981 | ||
982 | static int __net_init nl_fib_lookup_init(struct net *net) | 982 | static int __net_init nl_fib_lookup_init(struct net *net) |