: Fix use of wrong skb in do_getlink()
Subsystems (2)
[RTNETLINK]: Fix use of wrong skb in do_getlink()
skb is the netlink query, nskb is the reply message.
Signed-off-by Patrick McHardy <[email protected]>
---
commit 7d6fc0796ea33cd86cf20ccd51c351538903dcd9
tree 15bd1793a030f471f4a70762b079cf187bca8207
parent 587b522ced8a8ca3bddc99b05ec5118f11cfe164
author Patrick McHardy <[email protected]> Thu, 12 Oct 2006 08:38:03 +0200 committer Patrick McHardy <[email protected]> Thu, 12 Oct 2006 08:38:03 +0200
net/core/rtnetlink.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
net/core/rtnetlink.c +1 -1
@@ -602,7 +602,7 @@ #endif /* CONFIG_NET_WIRELESS_RTNETLINK 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);
From: Patrick McHardy <[email protected]>
Date: Thu, 12 Oct 2006 08:40:57 +0200
Quoted 5 lines
[RTNETLINK]: Fix use of wrong skb in
do_getlink()skb is the netlink query, nskb is the reply message.
Signed-off-by Patrick McHardy <[email protected]>
Applied, thanks Patrick.