Bug 256815 - panic in pfi_kkif_update() when setting interface name same as group
Summary: panic in pfi_kkif_update() when setting interface name same as group
Status: Closed DUPLICATE of bug 218895
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 13.0-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-24 17:50 UTC by jcaplan
Modified: 2021-06-24 17:56 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jcaplan 2021-06-24 17:50:41 UTC
Overview
--------

pfi_kkif_update() is recursive. It can be made to get stuck in a loop.

Steps to reproduce
------------------

ifconfig vmx1 name testing group testing


Actual Results
--------------

panic

Expected Results
----------------

Don't allow the name and group to be the same and return error


Build Date & Hardware
---------------------

FreeBSD freebsd 13.0-RELEASE FreeBSD 13.0-RELEASE #6 releng/13.0-n244733-ea31abc261f: Sat Jun 19 06:23:53 UTC 2021
Comment 1 jcaplan 2021-06-24 17:56:18 UTC

*** This bug has been marked as a duplicate of bug 218895 ***