Ilya Leoshkevich
c8eee4135a
selftests/bpf: fix sendmsg6_prog on s390
...
"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 >
2019-07-22 16:19:06 +02:00
..
2019-07-05 22:52:25 +02:00
2019-05-24 14:05:58 -07:00
2019-05-24 14:05:58 -07:00
2019-05-24 14:05:58 -07:00
2019-05-24 14:05:58 -07:00
2019-05-24 14:05:58 -07:00
2019-05-24 14:05:58 -07:00
2019-05-24 14:05:58 -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-07-05 22:52:25 +02:00
2019-07-12 15:38:23 +02:00
2019-07-12 15:38:23 +02:00
2019-07-12 15:38:23 +02:00
2019-07-05 22:52:25 +02:00
2019-05-23 16:20:57 +02:00
2019-05-23 16:20:57 +02:00
2019-05-23 16:20:57 +02:00
2019-06-19 02:22:52 +02:00
2019-06-19 02:22:52 +02:00
2019-07-05 22:52:25 +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-07-22 16:19:06 +02:00
2019-07-05 22:52:25 +02:00
2019-06-11 10:36:02 +02:00
2019-06-11 10:36:02 +02:00
2019-07-05 22:52:25 +02:00
2019-06-27 15:25:17 -07:00
2019-06-27 15:25:17 -07:00
2019-06-19 02:22:52 +02:00
2019-06-19 02:22:52 +02:00
2019-06-19 02:22:52 +02:00
2019-07-05 22:52:25 +02:00
2019-07-03 16:52:02 +02:00
2019-02-11 20:31:38 -08:00
2019-07-08 16:25:58 +02:00
2019-02-11 20:31:38 -08:00
2019-07-05 22:52:25 +02:00
2019-02-11 20:31:38 -08:00
2019-07-15 23:02:17 +02:00
2019-07-05 22:52:25 +02:00
2019-07-03 15:06:33 +02:00
2019-07-05 22:52:25 +02:00
2019-07-05 22:52:25 +02:00
2019-02-11 20:31:38 -08:00
2019-02-13 18:27:55 -08:00
2019-07-08 19:48:57 -07:00
2019-07-05 22:52:25 +02:00
2019-07-05 22:52:25 +02:00
2019-07-05 22:52:25 +02:00
2019-07-08 15:35:43 +02: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-07-03 15:06:33 +02:00
2019-07-05 22:52:25 +02:00
2019-07-05 22:52:25 +02: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-07-05 22:52:25 +02:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00
2019-07-05 22:52:25 +02:00
2019-02-11 20:31:38 -08:00
2019-07-15 23:02:17 +02:00
2019-07-15 23:02:17 +02:00
2019-06-19 02:22:52 +02:00
2019-06-19 02:22:52 +02:00
2019-06-11 10:36:02 +02: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-07-05 22:52:25 +02:00
2019-07-05 22:52:25 +02:00
2019-07-05 22:52:25 +02: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-07-03 15:06:33 +02:00
2019-04-04 01:27:38 +02:00
2019-07-05 22:52:25 +02:00
2019-02-11 20:31:38 -08:00
2019-07-18 13:54:54 -07:00
2019-02-11 20:31:38 -08:00
2019-02-11 20:31:38 -08:00
2019-07-05 22:52:25 +02:00
2019-02-11 20:31:38 -08:00
2019-07-05 22:52:25 +02:00
2019-06-24 18:18:30 -07:00
2019-07-05 22:52:25 +02:00