summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2005-08-16 20:39:30 +0000
committerjhb <jhb@FreeBSD.org>2005-08-16 20:39:30 +0000
commit907015177644e8c45939f686c9cafc14febbb80b (patch)
tree7c3a3643ef8deb9e0e9e2696f1893ea56d236747 /sbin
parentc1c0b1f44eab8d811187701834cddb397b22027c (diff)
downloadFreeBSD-src-907015177644e8c45939f686c9cafc14febbb80b.zip
FreeBSD-src-907015177644e8c45939f686c9cafc14febbb80b.tar.gz
Fixup locking in if_my(4) and mark it MPSAFE:
- Add locked variants of my_start() and my_init(). - Assert that the lock is held in several places rather than recursing. - Overhaul failure case handling in my_attach() so that it will actually clean up completely in each of the failure cases. - Setup the interrupt after ether_ifattach() in my_attach(). - Remove unused callout handle from softc. - Free the metadata for the descriptors my_in detach() (we leaked it before). - Fix locking in my_ioctl(). - Remove spls. Tested by: brueffer MFC after: 3 days
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud