• J
    gre: receive also TEB packets for lwtunnels · 125372fa
    Jiri Benc 提交于
    For ipgre interfaces in collect metadata mode, receive also traffic with
    encapsulated Ethernet headers. The lwtunnel users are supposed to sort this
    out correctly. This allows to have mixed Ethernet + L3-only traffic on the
    same lwtunnel interface. This is the same way as VXLAN-GPE behaves.
    
    To keep backwards compatibility and prevent any surprises, gretap interfaces
    have priority in receiving packets with Ethernet headers.
    Signed-off-by: NJiri Benc <jbenc@redhat.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    125372fa
ip_gre.c 31.6 KB