Re: [Linux-kernel-mentees][PATCH v2] packet: Fix undefined behavior in bit shift

From: David Miller
Date: Sat Jun 29 2019 - 14:06:43 EST


From: Jiunn Chang <c0d1n61at3@xxxxxxxxx>
Date: Wed, 26 Jun 2019 22:25:30 -0500

> 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: Jiunn Chang <c0d1n61at3@xxxxxxxxx>

Applied.