commit | a45294af9e96a3e060b6272fa7cd2c4b196de335 | [log] [tgz] |
---|---|---|
author | Guillaume Nault <gnault@redhat.com> | Sat Oct 03 00:44:31 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sat Oct 03 17:28:45 2020 -0700 |
tree | 4c9ab23ca1d039b508ce4358df7dfed6561757de | |
parent | 19fbcb36a39eefbe8912a13ccc02e937b1c418d6 [diff] |
net/sched: act_mpls: Add action to push MPLS LSE before Ethernet header Define the MAC_PUSH action which pushes an MPLS LSE before the mac header (instead of between the mac and the network headers as the plain PUSH action does). The only special case is when the skb has an offloaded VLAN. In that case, it has to be inlined before pushing the MPLS header. Signed-off-by: Guillaume Nault <gnault@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>