diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/team/team.c | 38 | ||||
-rw-r--r-- | drivers/net/wireless/mac80211_hwsim.c | 46 | ||||
-rw-r--r-- | drivers/scsi/scsi_transport_iscsi.c | 4 | ||||
-rw-r--r-- | drivers/staging/gdm72xx/netlink_k.c | 2 |
4 files changed, 45 insertions, 45 deletions
diff --git a/drivers/net/team/team.c b/drivers/net/team/team.c index b4f67b55ef79..266af7b38ebc 100644 --- a/drivers/net/team/team.c +++ b/drivers/net/team/team.c | |||
@@ -1886,7 +1886,7 @@ static int team_nl_cmd_noop(struct sk_buff *skb, struct genl_info *info) | |||
1886 | if (!msg) | 1886 | if (!msg) |
1887 | return -ENOMEM; | 1887 | return -ENOMEM; |
1888 | 1888 | ||
1889 | hdr = genlmsg_put(msg, info->snd_pid, info->snd_seq, | 1889 | hdr = genlmsg_put(msg, info->snd_portid, info->snd_seq, |
1890 | &team_nl_family, 0, TEAM_CMD_NOOP); | 1890 | &team_nl_family, 0, TEAM_CMD_NOOP); |
1891 | if (IS_ERR(hdr)) { | 1891 | if (IS_ERR(hdr)) { |
1892 | err = PTR_ERR(hdr); | 1892 | err = PTR_ERR(hdr); |
@@ -1895,7 +1895,7 @@ static int team_nl_cmd_noop(struct sk_buff *skb, struct genl_info *info) | |||
1895 | 1895 | ||
1896 | genlmsg_end(msg, hdr); | 1896 | genlmsg_end(msg, hdr); |
1897 | 1897 | ||
1898 | return genlmsg_unicast(genl_info_net(info), msg, info->snd_pid); | 1898 | return genlmsg_unicast(genl_info_net(info), msg, info->snd_portid); |
1899 | 1899 | ||
1900 | err_msg_put: | 1900 | err_msg_put: |
1901 | nlmsg_free(msg); | 1901 | nlmsg_free(msg); |
@@ -1952,7 +1952,7 @@ static int team_nl_send_generic(struct genl_info *info, struct team *team, | |||
1952 | if (err < 0) | 1952 | if (err < 0) |
1953 | goto err_fill; | 1953 | goto err_fill; |
1954 | 1954 | ||
1955 | err = genlmsg_unicast(genl_info_net(info), skb, info->snd_pid); | 1955 | err = genlmsg_unicast(genl_info_net(info), skb, info->snd_portid); |
1956 | return err; | 1956 | return err; |
1957 | 1957 | ||
1958 | err_fill: | 1958 | err_fill: |
@@ -1961,11 +1961,11 @@ err_fill: | |||
1961 | } | 1961 | } |
1962 | 1962 | ||
1963 | typedef int team_nl_send_func_t(struct sk_buff *skb, | 1963 | typedef int team_nl_send_func_t(struct sk_buff *skb, |
1964 | struct team *team, u32 pid); | 1964 | struct team *team, u32 portid); |
1965 | 1965 | ||
1966 | static int team_nl_send_unicast(struct sk_buff *skb, struct team *team, u32 pid) | 1966 | static int team_nl_send_unicast(struct sk_buff *skb, struct team *team, u32 portid) |
1967 | { | 1967 | { |
1968 | return genlmsg_unicast(dev_net(team->dev), skb, pid); | 1968 | return genlmsg_unicast(dev_net(team->dev), skb, portid); |
1969 | } | 1969 | } |
1970 | 1970 | ||
1971 | static int team_nl_fill_one_option_get(struct sk_buff *skb, struct team *team, | 1971 | static int team_nl_fill_one_option_get(struct sk_buff *skb, struct team *team, |
@@ -2050,13 +2050,13 @@ nest_cancel: | |||
2050 | } | 2050 | } |
2051 | 2051 | ||
2052 | static int __send_and_alloc_skb(struct sk_buff **pskb, | 2052 | static int __send_and_alloc_skb(struct sk_buff **pskb, |
2053 | struct team *team, u32 pid, | 2053 | struct team *team, u32 portid, |
2054 | team_nl_send_func_t *send_func) | 2054 | team_nl_send_func_t *send_func) |
2055 | { | 2055 | { |
2056 | int err; | 2056 | int err; |
2057 | 2057 | ||
2058 | if (*pskb) { | 2058 | if (*pskb) { |
2059 | err = send_func(*pskb, team, pid); | 2059 | err = send_func(*pskb, team, portid); |
2060 | if (err) | 2060 | if (err) |
2061 | return err; | 2061 | return err; |
2062 | } | 2062 | } |
@@ -2066,7 +2066,7 @@ static int __send_and_alloc_skb(struct sk_buff **pskb, | |||
2066 | return 0; | 2066 | return 0; |
2067 | } | 2067 | } |
2068 | 2068 | ||
2069 | static int team_nl_send_options_get(struct team *team, u32 pid, u32 seq, | 2069 | static int team_nl_send_options_get(struct team *team, u32 portid, u32 seq, |
2070 | int flags, team_nl_send_func_t *send_func, | 2070 | int flags, team_nl_send_func_t *send_func, |
2071 | struct list_head *sel_opt_inst_list) | 2071 | struct list_head *sel_opt_inst_list) |
2072 | { | 2072 | { |
@@ -2083,11 +2083,11 @@ static int team_nl_send_options_get(struct team *team, u32 pid, u32 seq, | |||
2083 | struct team_option_inst, tmp_list); | 2083 | struct team_option_inst, tmp_list); |
2084 | 2084 | ||
2085 | start_again: | 2085 | start_again: |
2086 | err = __send_and_alloc_skb(&skb, team, pid, send_func); | 2086 | err = __send_and_alloc_skb(&skb, team, portid, send_func); |
2087 | if (err) | 2087 | if (err) |
2088 | return err; | 2088 | return err; |
2089 | 2089 | ||
2090 | hdr = genlmsg_put(skb, pid, seq, &team_nl_family, flags | NLM_F_MULTI, | 2090 | hdr = genlmsg_put(skb, portid, seq, &team_nl_family, flags | NLM_F_MULTI, |
2091 | TEAM_CMD_OPTIONS_GET); | 2091 | TEAM_CMD_OPTIONS_GET); |
2092 | if (IS_ERR(hdr)) | 2092 | if (IS_ERR(hdr)) |
2093 | return PTR_ERR(hdr); | 2093 | return PTR_ERR(hdr); |
@@ -2120,15 +2120,15 @@ start_again: | |||
2120 | goto start_again; | 2120 | goto start_again; |
2121 | 2121 | ||
2122 | send_done: | 2122 | send_done: |
2123 | nlh = nlmsg_put(skb, pid, seq, NLMSG_DONE, 0, flags | NLM_F_MULTI); | 2123 | nlh = nlmsg_put(skb, portid, seq, NLMSG_DONE, 0, flags | NLM_F_MULTI); |
2124 | if (!nlh) { | 2124 | if (!nlh) { |
2125 | err = __send_and_alloc_skb(&skb, team, pid, send_func); | 2125 | err = __send_and_alloc_skb(&skb, team, portid, send_func); |
2126 | if (err) | 2126 | if (err) |
2127 | goto errout; | 2127 | goto errout; |
2128 | goto send_done; | 2128 | goto send_done; |
2129 | } | 2129 | } |
2130 | 2130 | ||
2131 | return send_func(skb, team, pid); | 2131 | return send_func(skb, team, portid); |
2132 | 2132 | ||
2133 | nla_put_failure: | 2133 | nla_put_failure: |
2134 | err = -EMSGSIZE; | 2134 | err = -EMSGSIZE; |
@@ -2151,7 +2151,7 @@ static int team_nl_cmd_options_get(struct sk_buff *skb, struct genl_info *info) | |||
2151 | 2151 | ||
2152 | list_for_each_entry(opt_inst, &team->option_inst_list, list) | 2152 | list_for_each_entry(opt_inst, &team->option_inst_list, list) |
2153 | list_add_tail(&opt_inst->tmp_list, &sel_opt_inst_list); | 2153 | list_add_tail(&opt_inst->tmp_list, &sel_opt_inst_list); |
2154 | err = team_nl_send_options_get(team, info->snd_pid, info->snd_seq, | 2154 | err = team_nl_send_options_get(team, info->snd_portid, info->snd_seq, |
2155 | NLM_F_ACK, team_nl_send_unicast, | 2155 | NLM_F_ACK, team_nl_send_unicast, |
2156 | &sel_opt_inst_list); | 2156 | &sel_opt_inst_list); |
2157 | 2157 | ||
@@ -2305,7 +2305,7 @@ team_put: | |||
2305 | } | 2305 | } |
2306 | 2306 | ||
2307 | static int team_nl_fill_port_list_get(struct sk_buff *skb, | 2307 | static int team_nl_fill_port_list_get(struct sk_buff *skb, |
2308 | u32 pid, u32 seq, int flags, | 2308 | u32 portid, u32 seq, int flags, |
2309 | struct team *team, | 2309 | struct team *team, |
2310 | bool fillall) | 2310 | bool fillall) |
2311 | { | 2311 | { |
@@ -2313,7 +2313,7 @@ static int team_nl_fill_port_list_get(struct sk_buff *skb, | |||
2313 | void *hdr; | 2313 | void *hdr; |
2314 | struct team_port *port; | 2314 | struct team_port *port; |
2315 | 2315 | ||
2316 | hdr = genlmsg_put(skb, pid, seq, &team_nl_family, flags, | 2316 | hdr = genlmsg_put(skb, portid, seq, &team_nl_family, flags, |
2317 | TEAM_CMD_PORT_LIST_GET); | 2317 | TEAM_CMD_PORT_LIST_GET); |
2318 | if (IS_ERR(hdr)) | 2318 | if (IS_ERR(hdr)) |
2319 | return PTR_ERR(hdr); | 2319 | return PTR_ERR(hdr); |
@@ -2362,7 +2362,7 @@ static int team_nl_fill_port_list_get_all(struct sk_buff *skb, | |||
2362 | struct genl_info *info, int flags, | 2362 | struct genl_info *info, int flags, |
2363 | struct team *team) | 2363 | struct team *team) |
2364 | { | 2364 | { |
2365 | return team_nl_fill_port_list_get(skb, info->snd_pid, | 2365 | return team_nl_fill_port_list_get(skb, info->snd_portid, |
2366 | info->snd_seq, NLM_F_ACK, | 2366 | info->snd_seq, NLM_F_ACK, |
2367 | team, true); | 2367 | team, true); |
2368 | } | 2368 | } |
@@ -2415,7 +2415,7 @@ static struct genl_multicast_group team_change_event_mcgrp = { | |||
2415 | }; | 2415 | }; |
2416 | 2416 | ||
2417 | static int team_nl_send_multicast(struct sk_buff *skb, | 2417 | static int team_nl_send_multicast(struct sk_buff *skb, |
2418 | struct team *team, u32 pid) | 2418 | struct team *team, u32 portid) |
2419 | { | 2419 | { |
2420 | return genlmsg_multicast_netns(dev_net(team->dev), skb, 0, | 2420 | return genlmsg_multicast_netns(dev_net(team->dev), skb, 0, |
2421 | team_change_event_mcgrp.id, GFP_KERNEL); | 2421 | team_change_event_mcgrp.id, GFP_KERNEL); |
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index 72b0456e41bf..9d45b3bb974c 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c | |||
@@ -38,7 +38,7 @@ MODULE_AUTHOR("Jouni Malinen"); | |||
38 | MODULE_DESCRIPTION("Software simulator of 802.11 radio(s) for mac80211"); | 38 | MODULE_DESCRIPTION("Software simulator of 802.11 radio(s) for mac80211"); |
39 | MODULE_LICENSE("GPL"); | 39 | MODULE_LICENSE("GPL"); |
40 | 40 | ||
41 | static u32 wmediumd_pid; | 41 | static u32 wmediumd_portid; |
42 | 42 | ||
43 | static int radios = 2; | 43 | static int radios = 2; |
44 | module_param(radios, int, 0444); | 44 | module_param(radios, int, 0444); |
@@ -545,7 +545,7 @@ static bool mac80211_hwsim_addr_match(struct mac80211_hwsim_data *data, | |||
545 | 545 | ||
546 | static void mac80211_hwsim_tx_frame_nl(struct ieee80211_hw *hw, | 546 | static void mac80211_hwsim_tx_frame_nl(struct ieee80211_hw *hw, |
547 | struct sk_buff *my_skb, | 547 | struct sk_buff *my_skb, |
548 | int dst_pid) | 548 | int dst_portid) |
549 | { | 549 | { |
550 | struct sk_buff *skb; | 550 | struct sk_buff *skb; |
551 | struct mac80211_hwsim_data *data = hw->priv; | 551 | struct mac80211_hwsim_data *data = hw->priv; |
@@ -619,7 +619,7 @@ static void mac80211_hwsim_tx_frame_nl(struct ieee80211_hw *hw, | |||
619 | goto nla_put_failure; | 619 | goto nla_put_failure; |
620 | 620 | ||
621 | genlmsg_end(skb, msg_head); | 621 | genlmsg_end(skb, msg_head); |
622 | genlmsg_unicast(&init_net, skb, dst_pid); | 622 | genlmsg_unicast(&init_net, skb, dst_portid); |
623 | 623 | ||
624 | /* Enqueue the packet */ | 624 | /* Enqueue the packet */ |
625 | skb_queue_tail(&data->pending, my_skb); | 625 | skb_queue_tail(&data->pending, my_skb); |
@@ -715,7 +715,7 @@ static void mac80211_hwsim_tx(struct ieee80211_hw *hw, | |||
715 | { | 715 | { |
716 | bool ack; | 716 | bool ack; |
717 | struct ieee80211_tx_info *txi; | 717 | struct ieee80211_tx_info *txi; |
718 | u32 _pid; | 718 | u32 _portid; |
719 | 719 | ||
720 | mac80211_hwsim_monitor_rx(hw, skb); | 720 | mac80211_hwsim_monitor_rx(hw, skb); |
721 | 721 | ||
@@ -726,10 +726,10 @@ static void mac80211_hwsim_tx(struct ieee80211_hw *hw, | |||
726 | } | 726 | } |
727 | 727 | ||
728 | /* wmediumd mode check */ | 728 | /* wmediumd mode check */ |
729 | _pid = ACCESS_ONCE(wmediumd_pid); | 729 | _portid = ACCESS_ONCE(wmediumd_portid); |
730 | 730 | ||
731 | if (_pid) | 731 | if (_portid) |
732 | return mac80211_hwsim_tx_frame_nl(hw, skb, _pid); | 732 | return mac80211_hwsim_tx_frame_nl(hw, skb, _portid); |
733 | 733 | ||
734 | /* NO wmediumd detected, perfect medium simulation */ | 734 | /* NO wmediumd detected, perfect medium simulation */ |
735 | ack = mac80211_hwsim_tx_frame_no_nl(hw, skb); | 735 | ack = mac80211_hwsim_tx_frame_no_nl(hw, skb); |
@@ -814,7 +814,7 @@ static void mac80211_hwsim_beacon_tx(void *arg, u8 *mac, | |||
814 | struct ieee80211_hw *hw = arg; | 814 | struct ieee80211_hw *hw = arg; |
815 | struct sk_buff *skb; | 815 | struct sk_buff *skb; |
816 | struct ieee80211_tx_info *info; | 816 | struct ieee80211_tx_info *info; |
817 | u32 _pid; | 817 | u32 _portid; |
818 | 818 | ||
819 | hwsim_check_magic(vif); | 819 | hwsim_check_magic(vif); |
820 | 820 | ||
@@ -831,10 +831,10 @@ static void mac80211_hwsim_beacon_tx(void *arg, u8 *mac, | |||
831 | mac80211_hwsim_monitor_rx(hw, skb); | 831 | mac80211_hwsim_monitor_rx(hw, skb); |
832 | 832 | ||
833 | /* wmediumd mode check */ | 833 | /* wmediumd mode check */ |
834 | _pid = ACCESS_ONCE(wmediumd_pid); | 834 | _portid = ACCESS_ONCE(wmediumd_portid); |
835 | 835 | ||
836 | if (_pid) | 836 | if (_portid) |
837 | return mac80211_hwsim_tx_frame_nl(hw, skb, _pid); | 837 | return mac80211_hwsim_tx_frame_nl(hw, skb, _portid); |
838 | 838 | ||
839 | mac80211_hwsim_tx_frame_no_nl(hw, skb); | 839 | mac80211_hwsim_tx_frame_no_nl(hw, skb); |
840 | dev_kfree_skb(skb); | 840 | dev_kfree_skb(skb); |
@@ -1315,7 +1315,7 @@ static void hwsim_send_ps_poll(void *dat, u8 *mac, struct ieee80211_vif *vif) | |||
1315 | struct hwsim_vif_priv *vp = (void *)vif->drv_priv; | 1315 | struct hwsim_vif_priv *vp = (void *)vif->drv_priv; |
1316 | struct sk_buff *skb; | 1316 | struct sk_buff *skb; |
1317 | struct ieee80211_pspoll *pspoll; | 1317 | struct ieee80211_pspoll *pspoll; |
1318 | u32 _pid; | 1318 | u32 _portid; |
1319 | 1319 | ||
1320 | if (!vp->assoc) | 1320 | if (!vp->assoc) |
1321 | return; | 1321 | return; |
@@ -1336,10 +1336,10 @@ static void hwsim_send_ps_poll(void *dat, u8 *mac, struct ieee80211_vif *vif) | |||
1336 | memcpy(pspoll->ta, mac, ETH_ALEN); | 1336 | memcpy(pspoll->ta, mac, ETH_ALEN); |
1337 | 1337 | ||
1338 | /* wmediumd mode check */ | 1338 | /* wmediumd mode check */ |
1339 | _pid = ACCESS_ONCE(wmediumd_pid); | 1339 | _portid = ACCESS_ONCE(wmediumd_portid); |
1340 | 1340 | ||
1341 | if (_pid) | 1341 | if (_portid) |
1342 | return mac80211_hwsim_tx_frame_nl(data->hw, skb, _pid); | 1342 | return mac80211_hwsim_tx_frame_nl(data->hw, skb, _portid); |
1343 | 1343 | ||
1344 | if (!mac80211_hwsim_tx_frame_no_nl(data->hw, skb)) | 1344 | if (!mac80211_hwsim_tx_frame_no_nl(data->hw, skb)) |
1345 | printk(KERN_DEBUG "%s: PS-poll frame not ack'ed\n", __func__); | 1345 | printk(KERN_DEBUG "%s: PS-poll frame not ack'ed\n", __func__); |
@@ -1353,7 +1353,7 @@ static void hwsim_send_nullfunc(struct mac80211_hwsim_data *data, u8 *mac, | |||
1353 | struct hwsim_vif_priv *vp = (void *)vif->drv_priv; | 1353 | struct hwsim_vif_priv *vp = (void *)vif->drv_priv; |
1354 | struct sk_buff *skb; | 1354 | struct sk_buff *skb; |
1355 | struct ieee80211_hdr *hdr; | 1355 | struct ieee80211_hdr *hdr; |
1356 | u32 _pid; | 1356 | u32 _portid; |
1357 | 1357 | ||
1358 | if (!vp->assoc) | 1358 | if (!vp->assoc) |
1359 | return; | 1359 | return; |
@@ -1375,10 +1375,10 @@ static void hwsim_send_nullfunc(struct mac80211_hwsim_data *data, u8 *mac, | |||
1375 | memcpy(hdr->addr3, vp->bssid, ETH_ALEN); | 1375 | memcpy(hdr->addr3, vp->bssid, ETH_ALEN); |
1376 | 1376 | ||
1377 | /* wmediumd mode check */ | 1377 | /* wmediumd mode check */ |
1378 | _pid = ACCESS_ONCE(wmediumd_pid); | 1378 | _portid = ACCESS_ONCE(wmediumd_portid); |
1379 | 1379 | ||
1380 | if (_pid) | 1380 | if (_portid) |
1381 | return mac80211_hwsim_tx_frame_nl(data->hw, skb, _pid); | 1381 | return mac80211_hwsim_tx_frame_nl(data->hw, skb, _portid); |
1382 | 1382 | ||
1383 | if (!mac80211_hwsim_tx_frame_no_nl(data->hw, skb)) | 1383 | if (!mac80211_hwsim_tx_frame_no_nl(data->hw, skb)) |
1384 | printk(KERN_DEBUG "%s: nullfunc frame not ack'ed\n", __func__); | 1384 | printk(KERN_DEBUG "%s: nullfunc frame not ack'ed\n", __func__); |
@@ -1632,10 +1632,10 @@ static int hwsim_register_received_nl(struct sk_buff *skb_2, | |||
1632 | if (info == NULL) | 1632 | if (info == NULL) |
1633 | goto out; | 1633 | goto out; |
1634 | 1634 | ||
1635 | wmediumd_pid = info->snd_pid; | 1635 | wmediumd_portid = info->snd_portid; |
1636 | 1636 | ||
1637 | printk(KERN_DEBUG "mac80211_hwsim: received a REGISTER, " | 1637 | printk(KERN_DEBUG "mac80211_hwsim: received a REGISTER, " |
1638 | "switching to wmediumd mode with pid %d\n", info->snd_pid); | 1638 | "switching to wmediumd mode with pid %d\n", info->snd_portid); |
1639 | 1639 | ||
1640 | return 0; | 1640 | return 0; |
1641 | out: | 1641 | out: |
@@ -1672,10 +1672,10 @@ static int mac80211_hwsim_netlink_notify(struct notifier_block *nb, | |||
1672 | if (state != NETLINK_URELEASE) | 1672 | if (state != NETLINK_URELEASE) |
1673 | return NOTIFY_DONE; | 1673 | return NOTIFY_DONE; |
1674 | 1674 | ||
1675 | if (notify->pid == wmediumd_pid) { | 1675 | if (notify->portid == wmediumd_portid) { |
1676 | printk(KERN_INFO "mac80211_hwsim: wmediumd released netlink" | 1676 | printk(KERN_INFO "mac80211_hwsim: wmediumd released netlink" |
1677 | " socket, switching to perfect channel medium\n"); | 1677 | " socket, switching to perfect channel medium\n"); |
1678 | wmediumd_pid = 0; | 1678 | wmediumd_portid = 0; |
1679 | } | 1679 | } |
1680 | return NOTIFY_DONE; | 1680 | return NOTIFY_DONE; |
1681 | 1681 | ||
diff --git a/drivers/scsi/scsi_transport_iscsi.c b/drivers/scsi/scsi_transport_iscsi.c index 519bd5303f3f..31969f2e13ce 100644 --- a/drivers/scsi/scsi_transport_iscsi.c +++ b/drivers/scsi/scsi_transport_iscsi.c | |||
@@ -2119,7 +2119,7 @@ iscsi_if_recv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, uint32_t *group) | |||
2119 | switch (nlh->nlmsg_type) { | 2119 | switch (nlh->nlmsg_type) { |
2120 | case ISCSI_UEVENT_CREATE_SESSION: | 2120 | case ISCSI_UEVENT_CREATE_SESSION: |
2121 | err = iscsi_if_create_session(priv, ep, ev, | 2121 | err = iscsi_if_create_session(priv, ep, ev, |
2122 | NETLINK_CB(skb).pid, | 2122 | NETLINK_CB(skb).portid, |
2123 | ev->u.c_session.initial_cmdsn, | 2123 | ev->u.c_session.initial_cmdsn, |
2124 | ev->u.c_session.cmds_max, | 2124 | ev->u.c_session.cmds_max, |
2125 | ev->u.c_session.queue_depth); | 2125 | ev->u.c_session.queue_depth); |
@@ -2132,7 +2132,7 @@ iscsi_if_recv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, uint32_t *group) | |||
2132 | } | 2132 | } |
2133 | 2133 | ||
2134 | err = iscsi_if_create_session(priv, ep, ev, | 2134 | err = iscsi_if_create_session(priv, ep, ev, |
2135 | NETLINK_CB(skb).pid, | 2135 | NETLINK_CB(skb).portid, |
2136 | ev->u.c_bound_session.initial_cmdsn, | 2136 | ev->u.c_bound_session.initial_cmdsn, |
2137 | ev->u.c_bound_session.cmds_max, | 2137 | ev->u.c_bound_session.cmds_max, |
2138 | ev->u.c_bound_session.queue_depth); | 2138 | ev->u.c_bound_session.queue_depth); |
diff --git a/drivers/staging/gdm72xx/netlink_k.c b/drivers/staging/gdm72xx/netlink_k.c index 2109cab0a14c..20d0aec52e72 100644 --- a/drivers/staging/gdm72xx/netlink_k.c +++ b/drivers/staging/gdm72xx/netlink_k.c | |||
@@ -135,7 +135,7 @@ int netlink_send(struct sock *sock, int group, u16 type, void *msg, int len) | |||
135 | } | 135 | } |
136 | memcpy(nlmsg_data(nlh), msg, len); | 136 | memcpy(nlmsg_data(nlh), msg, len); |
137 | 137 | ||
138 | NETLINK_CB(skb).pid = 0; | 138 | NETLINK_CB(skb).portid = 0; |
139 | NETLINK_CB(skb).dst_group = 0; | 139 | NETLINK_CB(skb).dst_group = 0; |
140 | 140 | ||
141 | ret = netlink_broadcast(sock, skb, 0, group+1, GFP_ATOMIC); | 141 | ret = netlink_broadcast(sock, skb, 0, group+1, GFP_ATOMIC); |