Search Linux Wireless

Re: [PATCH] fix the increment of unicast/multicast counters for forwarded PREQ

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

> If the destination address is not broadcast frame, the number of
> forwarded unicast frame is increased. And the other way round. Not
> correct?
> 
> +		if (!is_multicast_ether_addr(da))
> +			ifmsh->mshstats.fwded_unicast++;
> +		else
> +			ifmsh->mshstats.fwded_mcast++;

No, your new code is fine, but this

> >> +             if (da != broadcast_addr)

will never be false.

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux