CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2009/05/19 10:09:02
Modified files:
sys/net80211 : ieee80211_output.c ieee80211_var.h
Log message:
prevent injection of raw 802.11 control frames through bpf on drivers
that do not explicitly state this capability (using flag IEEE80211_C_RAWCTL).
also, perform all the sanity checks on injected raw 802.11 frames earlier
(in ieee80211_output instead of ieee80211_encap).
prevent kernel panics with many drivers when running aircrack-ng.
when/if all drivers are capable, we can remove this C_RAWCTL flag.