Maxim Mikityanskiy
6437866e49
net/packet: Remove redundant skb->protocol set
...
c72219b75f introduced tpacket_set_protocol that parses the Ethernet L2
header and sets skb->protocol if it's unset. It is no longer needed
since the introduction of packet_parse_headers. In case of SOCK_RAW and
unset skb->protocol, packet_parse_headers asks the driver to tell the
protocol number, and it's implemented for all Ethernet devices. As the
old function supported only Ethernet, no functionality is lost.
Signed-off-by: Maxim Mikityanskiy <maximmi@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-02-22 12:55:31 -08:00
..
2018-12-19 00:28:05 +01:00
2018-12-25 17:07:49 +09:00
2018-12-06 13:26:07 -08:00
2018-06-28 10:40:47 -07:00
2019-02-16 18:12:22 -08:00
2019-01-23 11:18:00 -08:00
2019-02-15 12:38:38 -08:00
2019-02-03 11:17:30 -08:00
2019-01-29 01:08:29 +01:00
2019-02-03 20:11:43 -08:00
2019-02-21 14:55:14 -08:00
2019-02-17 11:01:17 -08:00
2019-01-22 11:33:46 +01:00
2019-01-21 14:53:12 +01:00
2019-02-21 10:38:51 -08:00
2018-07-27 13:17:50 -07:00
2019-02-08 15:00:17 -08:00
2019-01-29 21:18:54 -08:00
2018-10-04 09:40:52 -07:00
2019-02-22 11:53:32 -08:00
2019-02-22 12:55:31 -08:00
2019-02-19 10:38:01 +01:00
2019-02-21 13:48:00 -08:00
2019-02-22 13:49:00 +01:00
2018-11-10 16:55:11 -08:00
2018-09-17 18:43:42 -07:00
2018-11-15 18:09:32 +01:00
2019-01-31 08:58:46 -08:00
2018-12-03 14:15:26 -08:00
2018-10-22 19:59:20 -07:00
2019-02-22 13:48:48 +01:00
2018-09-28 12:46:07 +08:00
2019-02-08 22:57:27 -08:00
2018-11-27 16:37:20 -08:00
2019-02-20 00:34:07 -08:00
2018-09-21 18:58:34 -07:00
2019-02-22 13:49:00 +01:00
2019-01-27 10:38:04 -08:00
2018-12-23 16:01:35 -08:00
2018-07-12 16:55:29 -07:00
2019-01-28 17:34:38 -08:00
2019-02-22 12:55:31 -08:00
2018-12-23 16:01:35 -08:00
2018-07-05 20:20:03 +09:00
2019-02-08 15:00:17 -08:00
2018-12-18 13:13:56 +01:00
2019-02-19 13:22:46 -08:00
2019-02-08 15:00:17 -08:00
2019-02-21 13:11:07 -08:00
2019-02-15 12:38:38 -08:00
2019-02-21 10:34:37 -08:00
2018-10-15 12:23:19 -07:00
2019-02-16 17:38:01 -08:00
2019-02-06 14:17:03 -08:00
2019-02-15 12:38:38 -08:00
2019-02-19 10:40:36 -08:00
2018-10-23 10:57:06 -07:00
2019-02-15 12:38:38 -08:00
2018-07-24 14:10:42 -07:00
2019-02-22 13:48:13 +01:00
2019-02-11 13:20:14 -08:00
2019-02-20 00:34:07 -08:00
2019-01-16 13:10:55 +01:00
2019-02-03 11:17:30 -08:00
2019-02-16 01:06:30 +01:00
2018-06-28 13:36:39 +09:00
2019-02-08 15:00:17 -08:00