diff options
| author | Ivan Bornyakov <brnkv.i1@gmail.com> | 2018-05-25 20:49:52 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-03 11:21:24 +0200 |
| commit | acf477d528bfd2793ac8d13ff4368fa8e2e90c70 (patch) | |
| tree | 8b793286c1eadcb8d5f36f0dfeb49d97d406a878 /net/ipv4/tcp_input.c | |
| parent | 24a04933972ad73ab15544bdc2cda290171e1344 (diff) | |
atm: zatm: fix memcmp casting
[ Upstream commit f9c6442a8f0b1dde9e755eb4ff6fa22bcce4eabc ]
memcmp() returns int, but eprom_try_esi() cast it to unsigned char. One
can lose significant bits and get 0 from non-0 value returned by the
memcmp().
Signed-off-by: Ivan Bornyakov <brnkv.i1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions
