[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	damien_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2008/08/12 11:53:13

Modified files:
	sys/net80211   : ieee80211_input.c ieee80211_pae_input.c 
	                 ieee80211_proto.c ieee80211_proto.h 
	                 ieee80211_var.h 

Log message:
Change the way we process EAPOL-Key frames.
Free the mbuf in the ieee80211_eapol_key_input() function.
Do not assume the frame is contiguous, call m_pullup2() if it is not.
We need the frame to be contiguous to process KDEs efficiently in
EAPOL-Key frames (just like we process IEs in management frames).
However, there are drivers like upgt(4) that use m_devget() in the
RX path.  m_devget() can return fragmented mbuf chains.
Notice that we should do the same m_pullup2() for management frames.
This will be done later.
Remove the ic_recv_eapol callback.