[Differential] D12457: Complete INADDR_HASH lock protection

ae (Andrey V. Elsukov) phabric-noreply at FreeBSD.org
Wed Sep 27 05:28:41 UTC 2017


ae added inline comments.

INLINE COMMENTS

> eugen_grosbein.net wrote in if_stf.c:383
> in_localip() may be better, I just wished to make the patch as clear as possible minizing changes for first revision.

Using in_localip() is preferred, because INADDR_HASH is protected with rmlock only in head/ and stable/11. So if you plan to merge this into stable/10, you will need to do direct commit.

REPOSITORY
  rS FreeBSD src repository

REVISION DETAIL
  https://reviews.freebsd.org/D12457

EMAIL PREFERENCES
  https://reviews.freebsd.org/settings/panel/emailpreferences/

To: eugen_grosbein.net, ae, avg, mav, rwatson
Cc: bz, imp, freebsd-net-list


More information about the freebsd-net mailing list