package/grub: build a host grub and a target grub (#7269)
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.34 / 651-swconfig-2.6.32-fix.patch
1 --- a/drivers/net/phy/swconfig.c
2 +++ b/drivers/net/phy/swconfig.c
3 @@ -335,7 +335,7 @@ swconfig_send_multipart(struct swconfig_
4 if (cb->close(cb, arg) < 0)
5 goto error;
6 }
7 - err = genlmsg_unicast(cb->msg, info->snd_pid);
8 + err = genlmsg_reply(cb->msg, info);
9 cb->msg = NULL;
10 if (err < 0)
11 goto error;
12 @@ -419,7 +419,7 @@ swconfig_list_attrs(struct sk_buff *skb,
13 if (!cb.msg)
14 return 0;
15
16 - return genlmsg_unicast(cb.msg, info->snd_pid);
17 + return genlmsg_reply(cb.msg, info);
18
19 error:
20 if (cb.msg)
21 @@ -732,7 +732,7 @@ swconfig_get_attr(struct sk_buff *skb, s
22 goto nla_put_failure;
23
24 swconfig_put_dev(dev);
25 - return genlmsg_unicast(msg, info->snd_pid);
26 + return genlmsg_reply(msg, info);
27
28 nla_put_failure:
29 if (msg)
This page took 0.042698 seconds and 5 git commands to generate.