Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Aug 2016 04:45:24 GMT
From:      yuanxunzhang@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r307851 - soc2016/yuanxunzhang/head/sys/net
Message-ID:  <201608180445.u7I4jOmT023660@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuanxunzhang
Date: Thu Aug 18 04:45:23 2016
New Revision: 307851
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=307851

Log:
  EAPS: query eaps domian status

Modified:
  soc2016/yuanxunzhang/head/sys/net/eaps.c

Modified: soc2016/yuanxunzhang/head/sys/net/eaps.c
==============================================================================
--- soc2016/yuanxunzhang/head/sys/net/eaps.c	Thu Aug 18 04:12:49 2016	(r307850)
+++ soc2016/yuanxunzhang/head/sys/net/eaps.c	Thu Aug 18 04:45:23 2016	(r307851)
@@ -76,7 +76,7 @@
 #define	V_eaps_cloner	VNET(eaps_cloner)
 
 static const char eaps_name[] = "eaps";
-
+LIST_HEAD(, eaps_state) es_list_head;
 static struct mtx es_list_mtx;
 
 SYSCTL_DECL(_net_link);
@@ -243,7 +243,7 @@
 	es->active = EAPS_ACTIVE_DISABLE;
 
 	mtx_lock(&es_list_mtx);
-	LIST_INSERT_HEAD(&es_list_mtx, es, es_list);
+	LIST_INSERT_HEAD(&es_list_head, es, es_list);
 	mtx_unlock(&es_list_mtx);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608180445.u7I4jOmT023660>