Page MenuHomeFreeBSD

netmap: Fix a race in kqueue registration
AcceptedPublic

Authored by markj on Wed, Aug 5, 5:37 PM.

Details

Reviewers
vmaffione
Summary

We need to acquire the netmap global lock earlier, to avoid racing with
the NETMAP_REQ_REGISTER ioctl handler.

Reported by: syzkaller

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 75396
Build 72279: arc lint + arc unit