mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
[RTNETLINK]: Fix use of wrong skb in do_getlink()
skb is the netlink query, nskb is the reply message. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
52c41a3224
commit
b974179abe
1 changed files with 1 additions and 1 deletions
|
@ -602,7 +602,7 @@ static int rtnl_getlink(struct sk_buff *skb, struct nlmsghdr* nlh, void *arg)
|
|||
goto errout;
|
||||
}
|
||||
|
||||
err = rtnl_unicast(skb, NETLINK_CB(skb).pid);
|
||||
err = rtnl_unicast(nskb, NETLINK_CB(skb).pid);
|
||||
errout:
|
||||
kfree(iw_buf);
|
||||
dev_put(dev);
|
||||
|
|
Loading…
Reference in a new issue