diff options
author | glebius <glebius@FreeBSD.org> | 2011-10-21 22:28:15 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2011-10-21 22:28:15 +0000 |
commit | 904eece235fe1a81630554860e6445bee04ab378 (patch) | |
tree | 41ae08f23f5e7db6a0e8bc902d8c3ad10d1607a5 /contrib/llvm/lib/MC/WinCOFFObjectWriter.cpp | |
parent | 1f39d42bbd7adaf5acaa21507380f702084010d4 (diff) | |
download | FreeBSD-src-904eece235fe1a81630554860e6445bee04ab378.zip FreeBSD-src-904eece235fe1a81630554860e6445bee04ab378.tar.gz |
Fix a race: we should update sc_len before dropping the pf lock, otherwise a
number of packets can be queued on sc, while we are in ip_output(), and then
we wipe the accumulated sc_len. On next pfsync_sendout() that would lead to
writing beyond our mbuf cluster.
Diffstat (limited to 'contrib/llvm/lib/MC/WinCOFFObjectWriter.cpp')
0 files changed, 0 insertions, 0 deletions