Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-10] src



Module Name:    src
Committed By:   martin
Date:           Thu Oct 19 07:23:51 UTC 2023

Modified Files:
        src/share/man/man4 [netbsd-10]: lagg.4
        src/sys/net/lagg [netbsd-10]: if_lagg.c
        src/tests/net/if_lagg [netbsd-10]: t_lagg.sh

Log Message:
Pull up following revision(s) (requested by yamaguchi in ticket #429):

        sys/net/lagg/if_lagg.c: revision 1.50
        sys/net/lagg/if_lagg.c: revision 1.51
        tests/net/if_lagg/t_lagg.sh: revision 1.10
        sys/net/lagg/if_lagg.c: revision 1.49
        tests/net/if_lagg/t_lagg.sh: revision 1.9
        share/man/man4/lagg.4: revision 1.5

lagg(4): release LAGG_LOCK before mtu changing
PR kern/57650

Make the lagg interface up before change its MTU
This change is related to PR kern/57650

Fix missing IFNET_LOCK holding while destroy the lagg interface
copy MTU of lagg to a interface added to lagg
even if the interface is the first member of the lagg

This change breaks ATF test case for lagg MTU

Update the test case for MTU of lag to adapt new behavior

Update lagg(4) manual
1. corrected the wrong example
   - lagg(4) can not add multiple port and set its priority at once
      - This is the restriction of ifconfig(8)
2. adapted to changed behavior related to MTU
   - Changed not to copy MTU of the 1st physical interface
     to lagg(4) to prevent locking against myself


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.4.2.1 src/share/man/man4/lagg.4
cvs rdiff -u -r1.48 -r1.48.4.1 src/sys/net/lagg/if_lagg.c
cvs rdiff -u -r1.8 -r1.8.2.1 src/tests/net/if_lagg/t_lagg.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index