X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=net%2Fl2tp%2Fl2tp_ip.c;h=7f41b7051269539efa0780b618be0b60e7788e76;hb=b67bfe0d42cac56c512dd5da4b1b347a23f4b70a;hp=f7ac8f42fee2cfbff6cbf3c863f1614a7d6f5f31;hpb=1e142b29e210b5dfb2deeb6ce2210b60af16d2a6;p=~andy%2Flinux diff --git a/net/l2tp/l2tp_ip.c b/net/l2tp/l2tp_ip.c index f7ac8f42fee..7f41b705126 100644 --- a/net/l2tp/l2tp_ip.c +++ b/net/l2tp/l2tp_ip.c @@ -49,10 +49,9 @@ static inline struct l2tp_ip_sock *l2tp_ip_sk(const struct sock *sk) static struct sock *__l2tp_ip_bind_lookup(struct net *net, __be32 laddr, int dif, u32 tunnel_id) { - struct hlist_node *node; struct sock *sk; - sk_for_each_bound(sk, node, &l2tp_ip_bind_table) { + sk_for_each_bound(sk, &l2tp_ip_bind_table) { struct inet_sock *inet = inet_sk(sk); struct l2tp_ip_sock *l2tp = l2tp_ip_sk(sk);