pfsync_bulk_fail was mucking around with pfsync_softc and sending packets
authordlg <dlg@openbsd.org>
Wed, 28 Jul 2010 06:52:05 +0000 (06:52 +0000)
committerdlg <dlg@openbsd.org>
Wed, 28 Jul 2010 06:52:05 +0000 (06:52 +0000)
commit836e28141f097fd7f6dad73a702d776ddf270c83
tree6fca4da7fa8a2734c85802879ca2f1dfabab06ba
parentd9da873b9c9e20747ff39ce6ae10f3fb8c00cedb
pfsync_bulk_fail was mucking around with pfsync_softc and sending packets
without holding splsoftnet. this adds the necessary protection.

reported by patrick coleman
sys/net/if_pfsync.c