Re: [Bugme-new] [Bug 11469] New: TUN with 1024 neighbours: ip6_dst_lookup_tail NULL crash
From: Evgeniy Polyakov <hidden>
Date: 2008-09-09 14:32:51
From: Evgeniy Polyakov <hidden>
Date: 2008-09-09 14:32:51
Hi. On Tue, Sep 09, 2008 at 07:32:15AM -0400, Neil Horman (nhorman@tuxdriver.com) wrote:
+ /*
+ * Here if the dst entry we've looked up
+ * has a neighbour entry that is in the INCOMPLETE
+ * state and the src address from the flow is
+ * marked as OPTIMISTIC, we release the found
+ * dst entry and replace it instead with the
+ * dst entry of the nexthop router
+ */
+ if (dst->neighbour && !((*dst)->neighbour->nud_state & NUD_VALID)) {^^^ This should be (*dst)->neighbour, isn't it? -- Evgeniy Polyakov