Re: [PATCH net] net: use inet_ehash_bucket(...) for consistency

2019-01-14 Thread Marcus Hüwe
On 2019-01-14 08:47:47 -0800, Eric Dumazet wrote: > On 01/12/2019 06:07 AM, Marcus Huewe wrote: > > Make the access to the struct inet_hashinfo's ehash member consistent. > > In net/ipv4/inet_hashtables.c, the ehash member is accessed by calling > > inet_ehash_bucket(...) except for the access in _

Re: [PATCH net] net: use inet_ehash_bucket(...) for consistency

2019-01-14 Thread Eric Dumazet
On 01/12/2019 06:07 AM, Marcus Huewe wrote: > Make the access to the struct inet_hashinfo's ehash member consistent. > In net/ipv4/inet_hashtables.c, the ehash member is accessed by calling > inet_ehash_bucket(...) except for the access in __inet_lookup_established. > In order to make the access

[PATCH net] net: use inet_ehash_bucket(...) for consistency

2019-01-12 Thread Marcus Huewe
Make the access to the struct inet_hashinfo's ehash member consistent. In net/ipv4/inet_hashtables.c, the ehash member is accessed by calling inet_ehash_bucket(...) except for the access in __inet_lookup_established. In order to make the access consistent, use inet_ehash_bucket(...) in __inet_looku