projects
/
GitHub
/
moto-9609
/
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:
4b6ea82
)
[NEIGH]: Fix use of uninitialized variable when trimming in neightbl_fill_parms
author
Thomas Graf
<tgraf@suug.ch>
Sun, 19 Jun 2005 05:52:09 +0000
(22:52 -0700)
committer
David S. Miller
<davem@davemloft.net>
Sun, 19 Jun 2005 05:52:09 +0000
(22:52 -0700)
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/neighbour.c
patch
|
blob
|
blame
|
history
diff --git
a/net/core/neighbour.c
b/net/core/neighbour.c
index d1f8f7847f7ceb1565e8f1e3255f19cf65c04eba..2296a145fb78e508c2635561f5b7e6c3eedfae53 100644
(file)
--- a/
net/core/neighbour.c
+++ b/
net/core/neighbour.c
@@
-1555,7
+1555,9
@@
out:
static int neightbl_fill_parms(struct sk_buff *skb, struct neigh_parms *parms)
{
- struct rtattr *nest = RTA_NEST(skb, NDTA_PARMS);
+ struct rtattr *nest = NULL;
+
+ nest = RTA_NEST(skb, NDTA_PARMS);
if (parms->dev)
RTA_PUT_U32(skb, NDTPA_IFINDEX, parms->dev->ifindex);