Project

General

Profile

Bug #10365

LAGG member event causes filter to reload

Added by Viktor Gurov 4 months ago. Updated 3 months ago.

Status:
Feedback
Priority:
Normal
Category:
LAGG Interfaces
Target version:
Start date:
03/21/2020
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.4.4-p3
Affected Architecture:

Description

The LAGG interface member is cxl0 and cxl1,
if one of these interfaces is down, it triggers check_reload_status:

check_reload_status: Linkup starting cxl0
check_reload_status: Linkup starting cxl0
check_reload_status: Reloading filter
check_reload_status: Reloading filter

there is code to ignore such events on the BRIDGE interfaces:
https://github.com/pfsense/pfsense/blob/892d8a10810092f47bc417639a9d74346fe7bb28/src/etc/rc.linkup#L74

/* Take care of events on bridge members when IP is configured on bridge */
$bridge_if = link_interface_to_bridge($iface);
if (!empty($bridge_if) && empty($ipaddr) && empty($ip6addr)) {
    log_error("Ignoring link event for bridge member without IP config");

    return;
}

but not for the LAGG

Associated revisions

Revision 84422a37 (diff)
Added by Viktor Gurov 3 months ago

Ignore events on LAGG members. Issue #10365

History

#1 Updated by Viktor Gurov 4 months ago

This PR adds the same code for LAGG members checking,
and fixes LAGG Ports field on the Status / Interfaces page:
https://github.com/pfsense/pfsense/pull/4246

#2 Updated by Jim Pingle 3 months ago

  • Status changed from New to Pull Request Review

#3 Updated by Renato Botelho 3 months ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Renato Botelho
  • Target version set to 2.5.0
  • % Done changed from 0 to 100

PR has been merged. Thanks!

Also available in: Atom PDF