* [patch] pppoe: uninitialized variable in pppoe_flush_dev()
@ 2010-05-22 20:27 Dan Carpenter
2010-05-24 6:50 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Dan Carpenter @ 2010-05-22 20:27 UTC (permalink / raw)
To: Michal Ostrowski
Cc: David S. Miller, Eric Dumazet, Jiri Pirko, Denys Fedoryschenko,
netdev, kernel-janitors
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>
diff --git a/drivers/net/pppoe.c b/drivers/net/pppoe.c
index b1b93ff..805b64d 100644
--- 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];
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [patch] pppoe: uninitialized variable in pppoe_flush_dev()
2010-05-22 20:27 [patch] pppoe: uninitialized variable in pppoe_flush_dev() Dan Carpenter
@ 2010-05-24 6:50 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2010-05-24 6:50 UTC (permalink / raw)
To: error27; +Cc: mostrows, eric.dumazet, jpirko, denys, netdev, kernel-janitors
From: Dan Carpenter <error27@gmail.com>
Date: Sat, 22 May 2010 22:27:48 +0200
> 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>
Applied, thanks Dan.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-24 6:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-22 20:27 [patch] pppoe: uninitialized variable in pppoe_flush_dev() Dan Carpenter
2010-05-24 6:50 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).