Files
linux/include/linux
Martin Varghese 040b5cfbce Fixed updating of ethertype in function skb_mpls_pop
The skb_mpls_pop was not updating ethertype of an ethernet packet if the
packet was originally received from a non ARPHRD_ETHER device.

In the below OVS data path flow, since the device corresponding to port 7
is an l3 device (ARPHRD_NONE) the skb_mpls_pop function does not update
the ethertype of the packet even though the previous push_eth action had
added an ethernet header to the packet.

recirc_id(0),in_port(7),eth_type(0x8847),
mpls(label=12/0xfffff,tc=0/0,ttl=0/0x0,bos=1/1),
actions:push_eth(src=00:00:00:00:00:00,dst=00:00:00:00:00:00),
pop_mpls(eth_type=0x800),4

Fixes: ed246cee09 ("net: core: move pop MPLS functionality from OvS to core helper")
Signed-off-by: Martin Varghese <martin.varghese@nokia.com>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-12-02 13:03:50 -08:00
..
2019-08-09 09:15:05 +02:00
2019-09-16 09:56:27 -07:00
2019-10-31 16:54:00 +05:30
2019-08-20 22:09:52 +02:00
2019-11-15 23:44:48 +01:00
2019-11-26 10:26:26 +01:00
2019-10-09 19:33:43 -07:00
2019-09-05 19:52:33 -06:00
2019-12-01 20:36:41 -08:00
2019-11-20 09:40:10 +01:00
2019-12-01 12:59:06 -08:00
2019-09-05 11:40:54 +02:00
2019-10-02 06:36:50 -07:00
2019-07-05 21:34:50 +02:00
2019-10-04 12:31:46 -07:00
2019-09-02 11:43:54 +01:00
2019-10-15 20:40:06 -07:00
2019-09-05 12:32:05 +02:00
2019-11-05 18:25:54 +01:00
2019-08-14 15:30:35 +02:00
2019-08-08 09:09:25 +02:00
2019-11-14 19:06:47 -08:00
2019-07-08 19:25:19 -07:00
2019-07-26 17:01:29 -06:00
2019-11-13 19:09:47 +08:00
2019-07-16 19:23:25 -07:00
2019-08-23 16:39:26 +01:00
2019-11-14 13:07:48 +08:00
2019-10-10 14:55:24 -07:00
2019-12-01 06:29:17 -08:00
2019-11-25 19:56:11 -07:00
2019-11-13 12:15:34 -08:00
2019-11-13 00:33:21 +11:00
2019-08-30 07:27:17 -07:00
2019-11-15 14:38:30 +01:00
2019-08-01 20:51:22 +02:00
2019-08-20 17:05:05 +02:00
2019-07-31 19:03:35 +02:00
2019-11-14 12:20:02 +08:00
2019-10-14 15:04:01 -07:00