Module Name: src Committed By: riastradh Date: Thu Mar 3 05:53:14 UTC 2022
Modified Files: src/sys/dev/usb: if_aue.c if_cue.c if_kue.c if_mue.c if_smsc.c if_udav.c Log Message: usbnet drivers: Stop abusing ifp->if_flags & IFF_ALLMULTI. This legacy flag is a figment of userland's imagination. The actual kernel state is ec->ec_flags & ETHER_F_ALLMULTI, protected by the ETHER_LOCK, so that multicast filter updates -- which run without IFNET_LOCK -- need not attempt to write racily to ifp->if_flags. To generate a diff of this commit: cvs rdiff -u -r1.179 -r1.180 src/sys/dev/usb/if_aue.c cvs rdiff -u -r1.99 -r1.100 src/sys/dev/usb/if_cue.c cvs rdiff -u -r1.112 -r1.113 src/sys/dev/usb/if_kue.c cvs rdiff -u -r1.72 -r1.73 src/sys/dev/usb/if_mue.c cvs rdiff -u -r1.81 -r1.82 src/sys/dev/usb/if_smsc.c cvs rdiff -u -r1.86 -r1.87 src/sys/dev/usb/if_udav.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.