* [PATCH net-next-2.6] pppoe: use pppoe_pernet instead of directly net_generic
@ 2010-04-26 11:46 Jiri Pirko
2010-04-26 18:17 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Jiri Pirko @ 2010-04-26 11:46 UTC (permalink / raw)
To: netdev; +Cc: davem, mostrows
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
diff --git a/drivers/net/pppoe.c b/drivers/net/pppoe.c
index cdd11ba..c059c8d 100644
--- a/drivers/net/pppoe.c
+++ b/drivers/net/pppoe.c
@@ -258,7 +258,7 @@ static inline struct pppox_sock *get_item_by_addr(struct net *net,
dev = dev_get_by_name_rcu(net, sp->sa_addr.pppoe.dev);
if (dev) {
ifindex = dev->ifindex;
- pn = net_generic(net, pppoe_net_id);
+ pn = pppoe_pernet(net);
pppox_sock = get_item(pn, sp->sa_addr.pppoe.sid,
sp->sa_addr.pppoe.remote, ifindex);
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next-2.6] pppoe: use pppoe_pernet instead of directly net_generic
2010-04-26 11:46 [PATCH net-next-2.6] pppoe: use pppoe_pernet instead of directly net_generic Jiri Pirko
@ 2010-04-26 18:17 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2010-04-26 18:17 UTC (permalink / raw)
To: jpirko; +Cc: netdev, mostrows
From: Jiri Pirko <jpirko@redhat.com>
Date: Mon, 26 Apr 2010 13:46:12 +0200
>
> Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-26 18:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-26 11:46 [PATCH net-next-2.6] pppoe: use pppoe_pernet instead of directly net_generic Jiri Pirko
2010-04-26 18:17 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.