Kernel panic with ap_bridge_packets = 1.

Martin Whitlock martin.whitlock at possio.com
Tue Apr 29 11:19:53 EDT 2003


There seems to be a problem in the latest cvs ver when ap_bridge_packets 
are set to 1. If I ping between two WLAN clients I get a null pointer 
kernel panic in the AP. I've located the problem and it seems to be 
caused by an unhandled case when skb is NULL and "stats->rx_bytes +=  
skb->len;" is called. As a bug report I've attached a patch that solves 
the panic, but I don't know where to correctly put the stats function 
without spoiling the statistics.

/Martin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: skb.diff
Url: http://lists.shmoo.com/pipermail/hostap/attachments/20030429/621c23aa/attachment.txt 


More information about the HostAP mailing list