Bug 221492

Summary: Creating stf interface as "stf" causes kernel panic
Product: Base System Reporter: Richard Gallamore <ultima>
Component: kernAssignee: freebsd-net (Nobody) <net>
Status: Closed DUPLICATE    
Severity: Affects Some People CC: kp
Priority: ---    
Version: 11.1-RELEASE   
Hardware: Any   
OS: Any   

Description Richard Gallamore freebsd_committer freebsd_triage 2017-08-13 21:19:13 UTC
This is easily reproducible and have triggered it on two 11.1-RELEASE boxes.


ifconfig stf create --> kernel panic.

Adding a number to stf, eg stf0 or stf1 the interface is created as expected. This is a bug that should be fixed, but probably doesn't affect majority of users.

Also tested on head r321403 and appears to be fixed.
Comment 1 Kristof Provost freebsd_committer freebsd_triage 2017-08-14 08:14:24 UTC
Do you have pf loaded? If so, this is a duplicate of #218895.

pf gets confused and upset if there are ifgroups with the same name as an ifnet.
Comment 2 Richard Gallamore freebsd_committer freebsd_triage 2017-08-15 21:37:58 UTC
That is the issue, thanks.

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