kernel - Fix PF SMP issues

* Fix an address table scan race that can cause packets to not match.

* The same fix also fixes a NULL pointer dereference caused by the
  same scan race.

Reported-by: alexh (and testing too)