Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Feb 2014 18:47:14 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        FreeBSD Net <freebsd-net@freebsd.org>,  "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org>
Subject:   [flowtable] don't insert a flowtable entry if the lle isn't yet valid
Message-ID:  <CAJ-VmomSiDYUVo5d8ymTpWRW=5_ODTfhnV%2BiovYc2Hgy7FqLcQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

Some of the collisions stem from the flowtable entry being created and
inserted before the lle has completed - subsequent lookups will fail
the LLE_VALID check, but inserting them will immediately fail due to a
collision.

This patch:

* doesn't insert a flowtable entry until the lle is valid;
* adds a counter to netstat to log when this happens.

http://people.freebsd.org/~adrian/netflix/20140211-flowtable-no-insert-on-arp-not-done.diff

I'd like to commit this to -HEAD and backport it to -10.

Thanks!


-a



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomSiDYUVo5d8ymTpWRW=5_ODTfhnV%2BiovYc2Hgy7FqLcQ>