2 --- a/drivers/net/phy/swconfig.c
3 +++ b/drivers/net/phy/swconfig.c
4 @@ -377,7 +377,7 @@ swconfig_dump_attr(struct swconfig_callb
8 - hdr = genlmsg_put(msg, info->snd_portid, info->snd_seq, &switch_fam,
9 + hdr = genlmsg_put(msg, info->snd_pid, info->snd_seq, &switch_fam,
10 NLM_F_MULTI, SWITCH_CMD_NEW_ATTR);
13 @@ -799,7 +799,7 @@ swconfig_get_attr(struct sk_buff *skb, s
17 - hdr = genlmsg_put(msg, info->snd_portid, info->snd_seq, &switch_fam,
18 + hdr = genlmsg_put(msg, info->snd_pid, info->snd_seq, &switch_fam,
22 @@ -902,7 +902,7 @@ static int swconfig_dump_switches(struct
23 list_for_each_entry(dev, &swdevs, dev_list) {
26 - if (swconfig_send_switch(skb, NETLINK_CB(cb->skb).portid,
27 + if (swconfig_send_switch(skb, NETLINK_CB(cb->skb).pid,
28 cb->nlh->nlmsg_seq, NLM_F_MULTI,