Page MenuHomeFreeBSD

ipdivert: Use CK_SLISTs for the divcb hash table
ClosedPublic

Authored by markj on Mon, Dec 1, 2:31 PM.

Details

Summary

The hash table is accessed in ip_divert_packet(), and there the accesses
are synchronized only by the net epoch, so plain SLIST is not safe.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable