Kernel panic with ap_bridge_packets = 1.

Martin Whitlock martin.whitlock
Tue Apr 29 08:19:53 PDT 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.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: skb.diff

More information about the Hostap mailing list