Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bff69732 authored by Chris Larson's avatar Chris Larson Committed by David S. Miller
Browse files

net: in the first call to neigh_seq_next, call neigh_get_first, not neigh_get_idx.



neigh_seq_next won't be called both with *pos > 0 && v ==
SEQ_START_TOKEN, so there's no point calling neigh_get_idx when we're
on the start token, just call neigh_get_first directly.

Signed-off-by: default avatarChris Larson <clarson@mvista.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7e43f112
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment