Ilya Leoshkevich
5fa1d7a76d
selftests/bpf: fix sendmsg6_prog on s390
...
[ Upstream commit c8eee4135a ]
"sendmsg6: rewrite IP & port (C)" fails on s390, because the code in
sendmsg_v6_prog() assumes that (ctx->user_ip6[0] & 0xFFFF) refers to
leading IPv6 address digits, which is not the case on big-endian
machines.
Since checking bitwise operations doesn't seem to be the point of the
test, replace two short comparisons with a single int comparison.
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com >
Acked-by: Andrey Ignatov <rdna@fb.com >
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2019-08-29 08:30:01 +02:00
..
2019-04-23 18:36:34 +02:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00
2019-08-29 08:30:01 +02:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00
2019-04-09 17:05:47 -07:00
2019-04-04 01:27:38 +02:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00
2019-02-13 18:27:55 -08:00
2019-07-26 09:10:43 +02:00
2019-02-27 17:03:13 -08:00
2019-02-11 20:31:38 -08:00
2019-05-30 11:29:53 -07:00
2019-05-30 11:29:53 -07:00
2019-05-30 11:29:53 -07:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00
2019-04-11 10:21:41 +02:00
2019-04-27 09:07:05 -07:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00
2019-04-12 13:54:59 -07:00
2019-03-22 18:16:44 -07:00
2019-04-24 01:32:26 +02:00
2019-03-21 18:59:11 -07:00
2019-02-11 20:31:38 -08:00
2019-04-18 16:08:40 -07:00
2019-04-18 16:08:40 -07:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00
2019-04-04 01:27:38 +02:00
2019-04-04 01:27:38 +02:00
2019-04-04 01:27:38 +02:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00