Up to [cvs.NetBSD.org] / src / sys / netipsec
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: pgoyette-compat-0407
Revision 1.10 / (download) - annotate - [select for diffs], Thu Jul 27 09:53:57 2017 UTC (6 years, 8 months ago) by ozaki-r
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202,
pgoyette-compat-base,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
nick-nhusb-base-20170825
Branch point for: pgoyette-compat
Changes since 1.9: +3 -1
lines
Diff to previous 1.9 (unified)
Let PF_KEY socks hold their own lock instead of softnet_lock Operations on SAD and SPD are executed via PF_KEY socks. The operations include deletions of SAs and SPs that will use synchronization mechanisms such as pserialize_perform to wait for references to SAs and SPs to be released. It is known that using such mechanisms with holding softnet_lock causes a dead lock. We should avoid the situation.