diff options
author | thompsa <thompsa@FreeBSD.org> | 2012-04-12 01:07:17 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2012-04-12 01:07:17 +0000 |
commit | 8d206d727989b74c76ecf167b1e995def458214c (patch) | |
tree | 74abc7b733a9492c1fde5128c581ec0822509222 /contrib/diff/lib/unlocked-io.h | |
parent | 2eada33b7c94362e5583ff7d7ee15c10bd66110a (diff) | |
download | FreeBSD-src-8d206d727989b74c76ecf167b1e995def458214c.zip FreeBSD-src-8d206d727989b74c76ecf167b1e995def458214c.tar.gz |
Set the proto to LAGG_PROTO_NONE before calling the detach routine so packets
are discarded, this is an issue because lacp drops the lock which may allow
network threads to access freed memory. Expand the lock coverage so the
detach/attach happen atomically.
Submitted by: Andrew Boyer (earlier version)
Diffstat (limited to 'contrib/diff/lib/unlocked-io.h')
0 files changed, 0 insertions, 0 deletions