Summary: | Double cleanup in igb_attach | ||
---|---|---|---|
Product: | Base System | Reporter: | Sreekanth Rupavatharam <rupavath> |
Component: | kern | Assignee: | Eric Joyner <erj> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | CC: | erj, sbruno |
Priority: | --- | Keywords: | IntelNetworking, patch |
Version: | CURRENT | ||
Hardware: | i386 | ||
OS: | Any |
Description
Sreekanth Rupavatharam
2015-01-27 21:02:22 UTC
This is still applicable. A commit references this bug: Author: sbruno Date: Fri May 6 17:00:45 UTC 2016 New revision: 299188 URL: https://svnweb.freebsd.org/changeset/base/299188 Log: Since igb_detach() cleans up all the data structures that will be free'd by the functions following its call, we can simply return instead of crashing and burning in the event of igb_detach() failing. PR: 197139 Submitted by: rupavath@juniper.net MFC after: 2 weeks Changes: head/sys/dev/e1000/if_igb.c A commit references this bug: Author: sbruno Date: Fri Jul 22 03:19:50 UTC 2016 New revision: 303175 URL: https://svnweb.freebsd.org/changeset/base/303175 Log: MFC r299188 Since igb_detach() cleans up all the data structures that will be free'd by the functions following its call, we can simply return instead of crashing and burning in the event of igb_detach() failing. PR: 197139 Changes: stable/10/sys/dev/e1000/if_igb.c Committed back in 2016. |