Commit 8e31c2f
xvrf: simplify VRF interface retrieval
ip_output/ip6_output already performs:
iface = iface_from_id(nh->iface_id);
mbuf_data(mbuf)->iface = iface;
xvrf_loop_process was doing this again unnecessarily. Remove the
redundant code.
Signed-off-by: Maxime Leroy <maxime@leroys.fr>
Reviewed-by: Robin Jarry <rjarry@redhat.com>1 parent a9247e3 commit 8e31c2f
2 files changed
Lines changed: 337 additions & 351 deletions
0 commit comments