]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 272159,272161,272386,272446,272547,272548,273210:
authorhrs <hrs@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 12 Sep 2015 20:36:39 +0000 (20:36 +0000)
committerhrs <hrs@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 12 Sep 2015 20:36:39 +0000 (20:36 +0000)
commitb40d9cfc8fa75fbc51dcfcfa261d79b6a94941fa
tree0cfbaefd9ede06268578e5130a7758b721dbf251
parent42ab28a4a0d6e6492284501596be248a700705dd
MFC 272159,272161,272386,272446,272547,272548,273210:

- Make lagg protos a enum.

- When reconfiguring protocol on a lagg, first set it to LAGG_PROTO_NONE,
  then drop lock, run the attach routines, and then set it to specific
  proto. This removes tons of WITNESS warnings.

- Make lagg protocol attach handlers not failing and allocate memory
  with M_WAITOK.

- Virtualize lagg(4) cloner.  This change fixes a panic when tearing down
  if_lagg(4) interfaces which were cloned in a vnet jail.

  Sysctl nodes which are dynamically generated for each cloned interface
  (net.link.lagg.N.*) have been removed, and use_flowid and flowid_shift
  ifconfig(8) parameters have been added instead.  Flags and per-interface
  statistics counters are displayed in "ifconfig -v".

- Separate option handling from SIOC[SG]LAGG to SIOC[SG]LAGGOPTS for
  backward compatibility with old ifconfig(8).

- Move L2 addr configuration for the primary port to a taskqueue.  This fixes
  LOR of softc rmlock in iflladdr_event handlers.

- Call if_delmulti_ifma() after LACP_UNLOCK().  This fixes another LOR.

- Fix a panic in lacp_transit_expire().

- Fix a panic in lagg_input() upon shutting down a port.

- Use printb() for boolean flags in ro_opts and actor_state for LACP.

- Fix lladdr configuration which could prevent LACP mode from working.

- Fix LORs when a laggport interface has an IPv6 LLA.

git-svn-id: svn://svn.freebsd.org/base/stable/10@287723 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/ifconfig/ifconfig.8
sbin/ifconfig/iflagg.c
share/man/man4/lagg.4
sys/net/ieee8023ad_lacp.c
sys/net/ieee8023ad_lacp.h
sys/net/if_lagg.c
sys/net/if_lagg.h