git: DragonFly_RELEASE_6_4 net: Fix SIOCSIFDESCR fallthrough bug in ifioctl()

Aaron LI aly at crater.dragonflybsd.org
Mon Jul 20 22:26:34 PDT 2026


commit 90dd181d2def45ce1c8022a24b6b4f25fe2ac271
Author: Aaron LI <aly at aaronly.me>
Date:   Tue Jul 21 13:15:53 2026 +0800

    net: Fix SIOCSIFDESCR fallthrough bug in ifioctl()
    
    * Add the missing 'break' to SIOCSIFDESCR to fix the fallthrough bug.
    * Remove the redundant ifnet_lock()/unlock() pair.
    * Clean up the code a bit by rearranging the local variables.

Summary of changes:
 sys/net/if.c | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/90dd181d2def45ce1c8022a24b6b4f25fe2ac271


-- 
DragonFly BSD source repository


More information about the Commits mailing list