summaryrefslogtreecommitdiff
path: root/sys/net80211
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2013-05-10 11:36:25 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2013-05-10 11:36:25 +0000
commit107af1f28831acb7f690ef701f32804449f24dbc (patch)
tree5b810bac06b931c0b3f24d8ac21fa3cfac199be1 /sys/net80211
parent4fc4909f5039ce3c9ee294c8017fe0f2c4be0199 (diff)
Since pf_state_key_attach can decide to free the provided state
key we need to sync our state key pointers with whatever values the function will pick. Not doing so will produce wrong results if address translation must be applied afterwards and we happen to have a state key collision. Then pf_translate will follow an old pointer and punch in garbage addresses into the packet. Noticed, initial patch and tests by Vitaly Sinilin <vs @ kp4 ! ru> ok tedu, henning
Diffstat (limited to 'sys/net80211')
0 files changed, 0 insertions, 0 deletions