Song Liu
2d17d8d79e
xdp: linearize skb in netif_receive_generic_xdp()
...
In netif_receive_generic_xdp(), it is necessary to linearize all
nonlinear skb. However, in current implementation, skb with
troom <= 0 are not linearized. This patch fixes this by calling
skb_linearize() for all nonlinear skb.
Fixes: de8f3a83b0a0 ("bpf: add meta pointer for direct access")
Signed-off-by: Song Liu <songliubraving@fb.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2017-12-15 14:34:36 +01:00
..
2017-11-02 11:10:55 +01:00
2017-12-05 18:39:29 -05:00
2017-11-21 15:57:07 -08:00
2017-11-12 09:17:05 +09:00
2017-11-21 15:57:07 -08:00
2017-11-21 16:35:54 -08:00
2017-11-04 09:26:51 +09:00
2017-11-21 15:57:07 -08:00
2017-11-21 15:57:07 -08:00
2017-09-26 13:36:44 -07:00
2017-11-14 21:54:55 +09:00
2017-11-02 11:10:55 +01:00
2017-11-21 16:35:54 -08:00
2017-11-21 05:38:32 -10:00
2017-12-15 14:34:36 +01:00
2017-08-09 16:57:38 -07:00
2017-12-05 18:08:53 -05:00
2017-11-21 15:57:07 -08:00
2017-10-18 09:12:40 +01:00
2017-12-13 13:18:46 -05:00
2017-06-16 11:48:40 -04:00
2017-10-25 13:00:27 +09:00
2017-11-04 09:26:51 +09:00
2017-11-01 12:19:03 +09:00
2017-12-13 16:04:04 -05:00
2017-12-13 14:12:20 -05:00
2017-11-04 09:26:51 +09:00
2017-07-03 02:31:22 -07:00
2017-12-05 18:39:29 -05:00
2017-11-14 15:45:52 +09:00
2017-11-14 15:45:53 +09:00
2017-11-21 16:35:54 -08:00
2017-11-15 11:56:19 -08:00
2017-12-11 10:50:00 +01:00
2017-11-04 09:26:51 +09:00
2017-11-04 09:26:51 +09:00
2017-11-21 15:57:09 -08:00
2017-12-13 14:12:20 -05:00
2017-11-18 10:32:41 +09:00
2017-12-11 11:58:18 -05:00
2017-11-21 16:35:54 -08:00
2017-11-21 15:57:07 -08:00
2017-11-08 16:12:33 +09:00
2017-11-26 18:34:59 -05:00
2017-11-28 11:13:30 -05:00
2017-11-14 15:45:53 +09:00
2017-11-01 12:19:03 +09:00
2017-11-10 10:00:18 +09:00
2017-12-06 15:44:27 -05:00
2017-06-13 11:07:51 +02:00
2017-11-21 16:35:54 -08:00
2017-12-03 10:05:20 -05:00
2017-12-13 13:18:46 -05:00
2017-12-11 14:08:21 -05:00
2017-11-24 01:33:34 +09:00
2017-10-25 10:37:11 +09:00
2017-12-01 20:04:20 -05:00
2017-11-10 13:41:40 +09:00
2017-12-13 13:44:36 -05:00
2017-11-14 16:26:35 +09:00
2017-11-04 09:26:51 +09:00
2017-12-05 15:07:37 -05:00
2017-11-02 11:10:55 +01:00
2017-12-06 08:47:09 +01:00
2017-11-21 16:35:54 -08:00
2017-11-21 15:57:07 -08:00
2017-09-20 15:36:18 -07:00
2017-09-04 13:25:20 +02:00
2017-11-02 11:10:55 +01:00
2017-12-05 18:39:29 -05:00
2017-04-16 23:42:49 -05:00