[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080803.010251.160221660.davem@davemloft.net>
Date: Sun, 03 Aug 2008 01:02:51 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: clarson@...sta.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 1/2] net: in the first call to neigh_seq_next, call
neigh_get_first, not neigh_get_idx.
From: Chris Larson <clarson@...sta.com>
Date: Fri, 1 Aug 2008 14:49:48 -0700
> 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: Chris Larson <clarson@...sta.com>
Applied, thanks Chris.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists