diff options
Diffstat (limited to 'net/core/neighbour.c')
-rw-r--r-- | net/core/neighbour.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/core/neighbour.c b/net/core/neighbour.c index 112c6e2266e9..baca771caae2 100644 --- a/net/core/neighbour.c +++ b/net/core/neighbour.c | |||
@@ -2102,7 +2102,7 @@ static int neightbl_dump_info(struct sk_buff *skb, struct netlink_callback *cb) | |||
2102 | if (tidx < tbl_skip || (family && tbl->family != family)) | 2102 | if (tidx < tbl_skip || (family && tbl->family != family)) |
2103 | continue; | 2103 | continue; |
2104 | 2104 | ||
2105 | if (neightbl_fill_info(skb, tbl, NETLINK_CB(cb->skb).pid, | 2105 | if (neightbl_fill_info(skb, tbl, NETLINK_CB(cb->skb).portid, |
2106 | cb->nlh->nlmsg_seq, RTM_NEWNEIGHTBL, | 2106 | cb->nlh->nlmsg_seq, RTM_NEWNEIGHTBL, |
2107 | NLM_F_MULTI) <= 0) | 2107 | NLM_F_MULTI) <= 0) |
2108 | break; | 2108 | break; |
@@ -2115,7 +2115,7 @@ static int neightbl_dump_info(struct sk_buff *skb, struct netlink_callback *cb) | |||
2115 | goto next; | 2115 | goto next; |
2116 | 2116 | ||
2117 | if (neightbl_fill_param_info(skb, tbl, p, | 2117 | if (neightbl_fill_param_info(skb, tbl, p, |
2118 | NETLINK_CB(cb->skb).pid, | 2118 | NETLINK_CB(cb->skb).portid, |
2119 | cb->nlh->nlmsg_seq, | 2119 | cb->nlh->nlmsg_seq, |
2120 | RTM_NEWNEIGHTBL, | 2120 | RTM_NEWNEIGHTBL, |
2121 | NLM_F_MULTI) <= 0) | 2121 | NLM_F_MULTI) <= 0) |
@@ -2244,7 +2244,7 @@ static int neigh_dump_table(struct neigh_table *tbl, struct sk_buff *skb, | |||
2244 | continue; | 2244 | continue; |
2245 | if (idx < s_idx) | 2245 | if (idx < s_idx) |
2246 | goto next; | 2246 | goto next; |
2247 | if (neigh_fill_info(skb, n, NETLINK_CB(cb->skb).pid, | 2247 | if (neigh_fill_info(skb, n, NETLINK_CB(cb->skb).portid, |
2248 | cb->nlh->nlmsg_seq, | 2248 | cb->nlh->nlmsg_seq, |
2249 | RTM_NEWNEIGH, | 2249 | RTM_NEWNEIGH, |
2250 | NLM_F_MULTI) <= 0) { | 2250 | NLM_F_MULTI) <= 0) { |
@@ -2281,7 +2281,7 @@ static int pneigh_dump_table(struct neigh_table *tbl, struct sk_buff *skb, | |||
2281 | continue; | 2281 | continue; |
2282 | if (idx < s_idx) | 2282 | if (idx < s_idx) |
2283 | goto next; | 2283 | goto next; |
2284 | if (pneigh_fill_info(skb, n, NETLINK_CB(cb->skb).pid, | 2284 | if (pneigh_fill_info(skb, n, NETLINK_CB(cb->skb).portid, |
2285 | cb->nlh->nlmsg_seq, | 2285 | cb->nlh->nlmsg_seq, |
2286 | RTM_NEWNEIGH, | 2286 | RTM_NEWNEIGH, |
2287 | NLM_F_MULTI, tbl) <= 0) { | 2287 | NLM_F_MULTI, tbl) <= 0) { |