diff --git a/[refs] b/[refs] index 0ca68010f77d..fc88d14c17e5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5e0751f57ae1aa5cda285f8c565ce202d8d5e5a3 +refs/heads/master: b50660f1fe4ebd6129064e4fba0bd882b60c2425 diff --git a/trunk/net/ipv4/udp.c b/trunk/net/ipv4/udp.c index 7ea1b67b6de1..1704c1474ea1 100644 --- a/trunk/net/ipv4/udp.c +++ b/trunk/net/ipv4/udp.c @@ -1556,14 +1556,14 @@ static void *udp_seq_start(struct seq_file *seq, loff_t *pos) __acquires(udp_hash_lock) { read_lock(&udp_hash_lock); - return *pos ? udp_get_idx(seq, *pos-1) : (void *)1; + return *pos ? udp_get_idx(seq, *pos-1) : SEQ_START_TOKEN; } static void *udp_seq_next(struct seq_file *seq, void *v, loff_t *pos) { struct sock *sk; - if (v == (void *)1) + if (v == SEQ_START_TOKEN) sk = udp_get_idx(seq, 0); else sk = udp_get_next(seq, v);