Jason A. Donenfeld
ab59d2b698
net: vti: implement header_ops->parse_protocol for AF_PACKET
...
Vti uses skb->protocol to determine packet type, and bails out if it's
not set. For AF_PACKET injection, we need to support its call chain of:
packet_sendmsg -> packet_snd -> packet_parse_headers ->
dev_parse_header_protocol -> parse_protocol
Without a valid parse_protocol, this returns zero, and vti rejects the
skb. So, this wires up the ip_tunnel handler for layer 3 packets for
that case.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2020-06-30 12:29:39 -07:00
..
2020-06-14 01:57:21 +09:00
2020-06-20 21:33:57 -07:00
2020-02-24 13:02:53 -08:00
2020-06-28 21:37:23 -07:00
2020-05-18 17:35:02 -07:00
2020-06-13 16:27:13 -07:00
2020-05-24 13:47:27 -07:00
2020-06-09 12:59:45 -07:00
2020-06-03 16:27:18 -07:00
2020-05-19 17:56:34 +02:00
2020-05-26 00:03:16 +09:00
2020-06-28 20:44:10 -07:00
2020-06-14 01:57:21 +09:00
2020-06-14 01:57:21 +09:00
2020-06-16 16:02:08 +02:00
2020-06-28 21:38:27 -07:00
2020-06-14 01:57:21 +09:00
2020-06-13 16:27:13 -07:00
2020-06-14 01:57:21 +09:00
2020-04-28 14:39:46 -07:00
2020-06-24 14:39:43 -07:00
2020-05-23 16:56:17 -07:00
2020-06-25 16:17:16 -07:00
2020-06-22 20:42:23 -07:00
2020-06-14 01:57:21 +09:00
2019-09-26 08:56:17 +02:00
2020-06-30 12:29:39 -07:00
2020-06-30 12:29:39 -07:00
2020-05-19 12:50:14 -07:00
2020-06-14 01:57:21 +09:00
2020-06-14 01:57:21 +09:00
2020-06-14 01:57:21 +09:00
2020-06-14 01:57:21 +09:00
2020-06-28 21:41:23 -07:00
2020-06-25 12:55:45 +02:00
2020-06-14 01:57:21 +09:00
2020-06-14 01:57:21 +09:00
2020-06-22 21:06:39 -07:00
2020-06-14 01:57:21 +09:00
2020-06-25 00:50:31 +02:00
2020-06-14 01:57:21 +09:00
2020-06-29 17:15:57 -07:00
2020-06-09 12:59:45 -07:00
2020-06-14 01:57:21 +09:00
2020-06-14 01:57:21 +09:00
2020-06-24 14:34:58 -07:00
2020-06-14 01:57:21 +09:00
2020-04-27 02:07:40 -04:00
2020-05-23 16:36:05 -07:00
2020-06-14 01:57:21 +09:00
2020-06-25 16:26:25 -07:00
2019-12-16 10:15:49 +01:00
2020-06-09 12:59:45 -07:00
2020-06-20 21:31:43 -07:00
2020-06-25 16:24:05 -07:00
2020-06-25 16:11:33 -07:00
2020-06-14 01:57:21 +09:00
2020-06-11 12:22:41 -07:00
2020-06-14 01:57:21 +09:00
2020-06-13 16:27:13 -07:00
2020-06-14 01:57:21 +09:00
2020-06-14 01:57:21 +09:00
2020-06-05 13:18:26 -07:00
2019-08-10 15:25:47 -07:00
2020-06-26 11:52:57 +02:00
2020-06-14 01:57:21 +09:00
2020-06-13 16:27:13 -07:00
2020-06-19 13:03:47 -07:00
2020-06-01 12:05:45 -07:00
2020-05-23 16:56:17 -07:00
2020-06-14 01:57:21 +09:00
2020-05-23 16:56:17 -07:00
2020-05-29 13:10:39 -07:00