Skip to content
Commit 79293f49 authored by Jiunn Chang's avatar Jiunn Chang Committed by David S. Miller
Browse files

packet: Fix undefined behavior in bit shift



Shifting signed 32-bit value by 31 bits is undefined.  Changing most
significant bit to unsigned.

Changes included in v2:
  - use subsystem specific subject lines
  - CC required mailing lists

Signed-off-by: default avatarJiunn Chang <c0d1n61at3@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b60a7738
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment