diff options
Diffstat (limited to 'net/netlabel/netlabel_mgmt.c')
-rw-r--r-- | net/netlabel/netlabel_mgmt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netlabel/netlabel_mgmt.c b/net/netlabel/netlabel_mgmt.c index 4809e2e48b02..c5384ffc6146 100644 --- a/net/netlabel/netlabel_mgmt.c +++ b/net/netlabel/netlabel_mgmt.c | |||
@@ -448,7 +448,7 @@ static int netlbl_mgmt_listall_cb(struct netlbl_dom_map *entry, void *arg) | |||
448 | struct netlbl_domhsh_walk_arg *cb_arg = arg; | 448 | struct netlbl_domhsh_walk_arg *cb_arg = arg; |
449 | void *data; | 449 | void *data; |
450 | 450 | ||
451 | data = genlmsg_put(cb_arg->skb, NETLINK_CB(cb_arg->nl_cb->skb).pid, | 451 | data = genlmsg_put(cb_arg->skb, NETLINK_CB(cb_arg->nl_cb->skb).portid, |
452 | cb_arg->seq, &netlbl_mgmt_gnl_family, | 452 | cb_arg->seq, &netlbl_mgmt_gnl_family, |
453 | NLM_F_MULTI, NLBL_MGMT_C_LISTALL); | 453 | NLM_F_MULTI, NLBL_MGMT_C_LISTALL); |
454 | if (data == NULL) | 454 | if (data == NULL) |
@@ -613,7 +613,7 @@ static int netlbl_mgmt_protocols_cb(struct sk_buff *skb, | |||
613 | int ret_val = -ENOMEM; | 613 | int ret_val = -ENOMEM; |
614 | void *data; | 614 | void *data; |
615 | 615 | ||
616 | data = genlmsg_put(skb, NETLINK_CB(cb->skb).pid, cb->nlh->nlmsg_seq, | 616 | data = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, |
617 | &netlbl_mgmt_gnl_family, NLM_F_MULTI, | 617 | &netlbl_mgmt_gnl_family, NLM_F_MULTI, |
618 | NLBL_MGMT_C_PROTOCOLS); | 618 | NLBL_MGMT_C_PROTOCOLS); |
619 | if (data == NULL) | 619 | if (data == NULL) |