]> git.baikalelectronics.ru Git - kernel.git/commit
net: dst.h: Fix shifting signed 32-bit value by 31 bits problem
authorVandana BN <bnvandana@gmail.com>
Mon, 1 Jul 2019 11:55:39 +0000 (17:25 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Jul 2019 17:48:34 +0000 (10:48 -0700)
commit5b9eeaf5777293d294eac02c355f109333336d71
tree217eac4701fdb7f8ed5be2bf08f30fd6523dc2ec
parentccfa8298bf413662c47aa0d3bbd27c7d7ac494f6
net: dst.h: Fix shifting signed 32-bit value by 31 bits problem

Fix DST_FEATURE_ECN_CA to use "U" cast to avoid shifting signed
32-bit value by 31 bits problem.

Signed-off-by: Vandana BN <bnvandana@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dst.h