]> git.baikalelectronics.ru Git - kernel.git/commit
gro: give 'hash' variable in dev_gro_receive() a less confusing name
authorAlexander Lobakin <alobakin@pm.me>
Sat, 13 Mar 2021 20:30:14 +0000 (20:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 14 Mar 2021 21:41:09 +0000 (14:41 -0700)
commit32eaedaa2a103062c33bec1aeba2578694b72f38
tree57a6dcdf4a37a94ac324b1decda99ac841e6e34d
parent454ff62e69647738e49a32c63904b933849a63e3
gro: give 'hash' variable in dev_gro_receive() a less confusing name

'hash' stores not the flow hash, but the index of the GRO bucket
corresponding to it.
Change its name to 'bucket' to avoid confusion while reading lines
like '__set_bit(hash, &napi->gro_bitmask)'.

Signed-off-by: Alexander Lobakin <alobakin@pm.me>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c