kernel - Fix PF tables (SMP work)
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 1 Jul 2014 23:28:47 +0000 (16:28 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 1 Jul 2014 23:28:47 +0000 (16:28 -0700)
commitd66d8bc0d51a10502c5139f53f803f7c684f7231
treeb044e3185cd069c25c3cc5da8ec88fe543c96dda
parent376a6a2a92d0c2a273a84573188ca61fda1c7435
kernel - Fix PF tables (SMP work)

* SMP work broke pf_table.c to some degree due to the use of globals
  to store temporary data.  The concurrency could cause table lookups
  to return an incorrect match or mismatch.

* Change pfr_sin, pfr_sin6, and pfr_mask to local variables.
sys/net/pf/pf_table.c