cvs commit: src/sys/net80211 ieee80211_input.c ieee80211_node.c ieee80211_node.h

Sam Leffler sam at
Sat Aug 6 04:56:50 GMT 2005

sam         2005-08-06 04:56:49 UTC

  FreeBSD src repository

  Modified files:
    sys/net80211         ieee80211_input.c ieee80211_node.c 
  Fix handling of frames sent prior to a station being authorized
  when operating in ap mode.  Previously we allocated a node from the
  station table, sent the frame (using the node), then released the
  reference that "held the frame in the table".  But while the frame
  was in flight the node might be reclaimed which could lead to
  problems.  The solution is to add an ieee80211_tmp_node routine
  that crafts a node that does exist in a table and so isn't ever
  reclaimed; it exists only so long as the associated frame is in flight.
  MFC after:      5 days
  Revision  Changes    Path
  1.78      +2 -2      src/sys/net80211/ieee80211_input.c
  1.60      +36 -0     src/sys/net80211/ieee80211_node.c
  1.20      +2 -0      src/sys/net80211/ieee80211_node.h

More information about the cvs-src mailing list