projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52c41a3
)
[RTNETLINK]: Fix use of wrong skb in do_getlink()
author
Patrick McHardy
<kaber@trash.net>
Thu, 12 Oct 2006 08:50:30 +0000
(
01:50
-0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 12 Oct 2006 08:50:30 +0000
(
01:50
-0700)
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>
net/core/rtnetlink.c
patch
|
blob
|
blame
|
history
diff --git
a/net/core/rtnetlink.c
b/net/core/rtnetlink.c
index 221e4038216b8da1e61a67b32087eb146b02af3c..02f3c794789815e5a39717e3caf6eb3119c035e9 100644
(file)
--- a/
net/core/rtnetlink.c
+++ b/
net/core/rtnetlink.c
@@
-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(
n
skb, NETLINK_CB(skb).pid);
errout:
kfree(iw_buf);
dev_put(dev);