[ovs-git] [ovn-org/ovn] 0c26bc: ovn-northd: Don't add arp responder flows for lpor...

numansiddique noreply at github.com
Wed Feb 17 03:13:31 UTC 2021


  Branch: refs/heads/branch-20.03
  Home:   https://github.com/ovn-org/ovn
  Commit: 0c26bc03064f2c21d208f0f860b48d8ab39380cb
      https://github.com/ovn-org/ovn/commit/0c26bc03064f2c21d208f0f860b48d8ab39380cb
  Author: Numan Siddique <numans at ovn.org>
  Date:   2021-02-17 (Wed, 17 Feb 2021)

  Changed paths:
    M northd/ovn-northd.8.xml
    M northd/ovn-northd.c
    M tests/ovn.at

  Log Message:
  -----------
  ovn-northd: Don't add arp responder flows for lports with 'unknown' address.

If a logical port has 'unknown' address, it means it can send and receive
packet with any IP and MAC and generally port security is not set for
such logical ports. If an lport has addresses set to - ["MAC1 IP1", unknown],
right now we add arp responder flows for IP1 and respond MAC1 in the arp
response. But it's possible that the VIF of the logical port can use the IP1
with a different MAC. This patch supports this usecase. When another logical port
sends ARP request for IP1, the VIF of the logical port will anyway respond.

Reported-by: Maciej Józefczyk <mjozefcz at redhat.com>
Acked-by: Han Zhou <hzhou at ovn.org>
Signed-off-by: Numan Siddique <numans at ovn.org>

(cherry-picked from branch-20.06 commit 62c8de77c1600b5e775b45c1f491cd8d7b3c8245)




More information about the git mailing list