Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Apr 2016 08:32:07 -0700
From:      Matt Joras <matt.joras@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   if_vlan locking fixes
Message-ID:  <CADdTf%2Bhc5_%2BYmKEERXC_paiPT73Onjndy=phta6_4vaODJOD2w@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello,

At Isilon we end up creating/destroying vlan interfaces a lot more
than users typically do. Unfortunately this lead to a myriad of panics
due to locking insufficiencies in if_vlan. I've fixed these internally
and I've submitted a review of the changes. I would appreciate if
anyone would like to review them.

https://reviews.freebsd.org/D5825

The essence of the changes is to make the global vlan lock an
rmlock(9) and expand its scope to synchronize reading/using ifvlans
with destruction events as well as ensure exlusivity in certain
configuration paths.

Thanks,
Matt Joras



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADdTf%2Bhc5_%2BYmKEERXC_paiPT73Onjndy=phta6_4vaODJOD2w>