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:
dcda138
)
pppoe: uninitialized variable in pppoe_flush_dev()
author
Dan Carpenter
<error27@gmail.com>
Sat, 22 May 2010 10:27:48 +0000
(10:27 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 24 May 2010 06:57:43 +0000
(23:57 -0700)
This assignment got deleted along with the checks by mistake. This
comes from:
8753d29fd
"pppoe: remove unnecessary checks in
pppoe_flush_dev"
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pppoe.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/pppoe.c
b/drivers/net/pppoe.c
index b1b93ff2351f70e7902cf2840885285570799355..805b64d1e893564bfc7aa1b3957c1df606dcf46a 100644
(file)
--- a/
drivers/net/pppoe.c
+++ b/
drivers/net/pppoe.c
@@
-289,6
+289,7
@@
static void pppoe_flush_dev(struct net_device *dev)
struct pppoe_net *pn;
int i;
+ pn = pppoe_pernet(dev_net(dev));
write_lock_bh(&pn->hash_lock);
for (i = 0; i < PPPOE_HASH_SIZE; i++) {
struct pppox_sock *po = pn->hash_table[i];