[PATCH] tests: add a test for mesh gate forwarding

Bob Copeland me at bobcopeland.com
Sat Mar 5 12:29:13 PST 2016


On Sat, Mar 05, 2016 at 10:12:33PM +0200, Jouni Malinen wrote:
> On Sat, Mar 05, 2016 at 10:05:05PM +0200, Jouni Malinen wrote:
> > So something is corrupting memory there..
> 
> Or well.. It's a call to a mesh function after vif type has changed:
> 
> [    8.195793] JKM:sdata->name='wlan2' vif.type=7
> [   11.370760] IPv6: ADDRCONF(NETDEV_UP): wlan2: link is not ready
> [   11.400032] JKM:mesh_path_send_to_gates:tbl=          (null)
> [   11.403328] JKM:sdata->name='wlan2' vif.type=2
> 
> Did something forgot to cancel mesh_path_timer() calls?

Not sure, but, mesh_pathtbl_unregister() should probably be coming after
del_timer_sync(&sdata->u.mesh.mesh_path_timer) instead of before it...

-- 
Bob Copeland %% http://bobcopeland.com/



More information about the Hostap mailing list