svn commit: r194373 - projects/mesh11s/sys/net80211
Rui Paulo
rpaulo at FreeBSD.org
Wed Jun 17 16:28:03 UTC 2009
Author: rpaulo
Date: Wed Jun 17 16:28:02 2009
New Revision: 194373
URL: http://svn.freebsd.org/changeset/base/194373
Log:
Correctly verify the IDs on confirm frames.
Sponsored by: The FreeBSD Foundation
Modified:
projects/mesh11s/sys/net80211/ieee80211_mesh.c
Modified: projects/mesh11s/sys/net80211/ieee80211_mesh.c
==============================================================================
--- projects/mesh11s/sys/net80211/ieee80211_mesh.c Wed Jun 17 16:14:32 2009 (r194372)
+++ projects/mesh11s/sys/net80211/ieee80211_mesh.c Wed Jun 17 16:28:02 2009 (r194373)
@@ -859,7 +859,8 @@ mesh_recv_action(struct ieee80211_node *
/* NB: don't setup/clear any timeout */
break;
case IEEE80211_NODE_MESH_CONFIRMRECV:
- if (ni->ni_mllid != meshpeer->peer_llinkid) {
+ if (ni->ni_mllid != meshpeer->peer_linkid ||
+ ni->ni_mlpid != meshpeer->peer_llinkid) {
vargs.fixedarg[0] = ni->ni_mllid;
vargs.fixedarg[1] = ni->ni_mlpid;
vargs.fixedarg[2] =
More information about the svn-src-projects
mailing list