Page MenuHomeFreeBSD

bridge: Do not enter NET_EPOCH in bridge_ioctl()
Needs ReviewPublic

Authored by kp on Sat, Sep 12, 10:06 PM.

Details

Reviewers
glebius
Group Reviewers
network
Summary

Avoid being in the NET_EPOCH during ioctl handling, because we delegate
a lot of handling to the member interfaces' ioctl() handlers which may
sleep.

Instead take the BRIDGE_LOCK() to protect our accesses.

Diff Detail

Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 33532
Build 30792: arc lint + arc unit

Event Timeline

kp created this revision.Sat, Sep 12, 10:06 PM
kp requested review of this revision.Sat, Sep 12, 10:06 PM
emaste added a subscriber: emaste.Sun, Sep 13, 1:55 AM