XOR pt. 2

NGie Cooper yaneurabeya at gmail.com
Fri Dec 11 22:49:11 UTC 2015


On Fri, Dec 11, 2015 at 1:19 PM, Don Lewis <truckman at freebsd.org> wrote:
> On 11 Dec, Michael McConville wrote:
>> Note that IFCAP_HWCSUM has two bits set. Because of this, it doesn't XOR
>> cleanly in the current if-else condition, but I'm not sure whether that
>> was intended. I just wanted to pass this by people in case it was a
>> logical bug.
>
> Yeah, the original code looks incorrect.   If HWCSUM is totally disabled
> and the user requests RXCSUM, then the current code will enable both
> RXCSUM and TXCSUM.

Please file a bug on bugzilla, CC erj, sbruno, and myself (ngie).
Thanks!
-NGie


More information about the freebsd-current mailing list