diff options
author | Andrew Gallatin <gallatin@FreeBSD.org> | 2022-07-28 14:36:22 +0000 |
---|---|---|
committer | Andrew Gallatin <gallatin@FreeBSD.org> | 2022-07-28 14:39:00 +0000 |
commit | 713ceb99b68568232bf9895bbe1811797bfde63c (patch) | |
tree | c28cc62fc35431b61e8b453cc3f509623851582c /sys/net/if_lagg.h | |
parent | a8a43edc0f856167c483b554a89a868f53a6ce25 (diff) | |
download | src-713ceb99b68568232bf9895bbe1811797bfde63c.tar.gz src-713ceb99b68568232bf9895bbe1811797bfde63c.zip |
lagg: fix lagg ifioctl after SIOCSIFCAPNV
Lagg was broken by SIOCSIFCAPNV when all underlying devices
support SIOCSIFCAPNV. This change updates lagg to work with
SIOCSIFCAPNV and if_capabilities2.
Reviewed by: kib, hselasky
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D35865
Diffstat (limited to 'sys/net/if_lagg.h')
-rw-r--r-- | sys/net/if_lagg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/if_lagg.h b/sys/net/if_lagg.h index 94f3487af6f7..9fc6e3862712 100644 --- a/sys/net/if_lagg.h +++ b/sys/net/if_lagg.h @@ -273,6 +273,7 @@ struct lagg_port { uint32_t lp_flags; /* port flags */ int lp_ifflags; /* saved ifp flags */ int lp_ifcapenable; /* saved ifp capenable */ + int lp_ifcapenable2;/* saved ifp capenable2 */ void *lh_cookie; /* if state hook */ void *lp_psc; /* protocol data */ int lp_detaching; /* ifnet is detaching */ |