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]

 



Yeoh Chun-Yeow <yeohchunyeow@xxxxxxxxx> writes:

> Hi, Johannes
>
>>> >> +             if (da != broadcast_addr)
>>
>> will never be false.
>
> Hmm, but I have a check on this and it works. The previous line will
> set the da either as broadcast addr or unicast addr.

You are comparing pointers, not addresses. If you do that on purpose
then it's very confusing.

-- 
Kalle Valo
--
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