kernel - Fix table problem w/IPV6 matching with PF
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 11 Jul 2014 18:07:50 +0000 (11:07 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 11 Jul 2014 18:07:50 +0000 (11:07 -0700)
commitf059a200446a590c285c49b8d3cd8ccfaace92c2
tree78f31638a1511bad25f345af26dec282d28b179b
parent7a8a9a3afaeac6e7f11c174db958e9893ed827b9
kernel - Fix table problem w/IPV6 matching with PF

* Zero the sin6 structure before initializing it for passing to rn_match().
  rn_match() is not structurally aware so pad space in the structure must
  be zero'd.

* Fixes IPV6 table matching problem with PF.

Reported-by: ftigeot
Testing-by: ftigeot
sys/net/pf/pf_table.c