]> git.proxmox.com Git - ovs.git/commit - ofproto/ofproto-dpif-xlate.c
ofproto-dpif-xlate: drop L3 packets on L2 legacy port
authorZoltán Balogh <zoltan.balogh@ericsson.com>
Fri, 14 Jul 2017 19:24:29 +0000 (21:24 +0200)
committerBen Pfaff <blp@ovn.org>
Fri, 14 Jul 2017 22:59:20 +0000 (15:59 -0700)
commit5dbfe23979856400f3b746d8917c7e829aaec446
treee0ccd227b50261bd87bf6a6ad3ab7b8e6e8cd062
parentbb1f4da092e0b44ab0f41a31b5e811c08afa7d83
ofproto-dpif-xlate: drop L3 packets on L2 legacy port

This commit drops packet during xlate if it is a L3 packet and output
port packet_type is legacy_l2. New PTAP unit test is added.

Signed-off-by: Zoltán Balogh <zoltan.balogh@ericsson.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
ofproto/ofproto-dpif-xlate.c
tests/packet-type-aware.at