Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (1m)  netbsd-10 (6d)  netbsd-9 (6d)  netbsd-8 (11d) 

2024-05-23 06:12:49 UTC Now

2009-03-16 12:13:04 UTC MAIN commitmail json YAML

Pull a fix from hme.c rev 1.73 (to #if 0'ed out part):
> Fix a bug in calculation of checksum deduction:
> - To get 16 bit one's complement value from uint32_t variable,
>  higher 16 bits should be ignored.
> - RFC 1624 describes methods to recalculate checksum field in headers,
>  i.e. one's complement of one's complement sum that could be 0x0000,
>  but we don't have to use the strategy to deduct one's complement sum
>  itself which won't be zero but should be 0xffff.

(tsutsui)