linux-cp: use default adjacency 34/32434/2
authorMatthew Smith <mgsmith@netgate.com>
Tue, 25 May 2021 14:41:05 +0000 (09:41 -0500)
committerNeale Ranns <neale@graphiant.com>
Thu, 3 Jun 2021 14:13:44 +0000 (14:13 +0000)
commit8dd0d75b55ab71ecaab4b3c0240a10a5bf0f252b
tree9c1a0b42efec868a1c3957512380e4c9383dbd28
parentc5e3a41bbeedcc7486f43edfbc85b63a95865773
linux-cp: use default adjacency

Type: fix

Outbound packets from the host have an adjacency lookup performed so
buffer metadata can be filled in and output features can be applied.
If no adjacency is found for a packet, it gets dropped. This breaks
DHCP and possibly other things since the DHCP reply to a discover
request is sent to a destination MAC address that is determined by
the contents of the request packet rather than any existing neighbor
table entry.

If adjacency lookup for outbound packets does not find an entry, use
the default adjacency for the interface & address family.

Change-Id: Ia53a4df3a5bad2991768cfe4a84c560b879e656f
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
src/plugins/linux-cp/lcp_node.c