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

Appreciate your explanation. I understand my mistake.

Thanks

Regards,
Chun-Yeow

On Mon, May 7, 2012 at 6:41 PM, Kalle Valo <kvalo@xxxxxxxxxx> wrote:
> 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