K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-22T09:31:07.000000Z K 7 svn:log V 710 Merge ip_output.c:1.233 (and forced commit MFC reminder ip_output.c:1.234) from HEAD to RELENG_5: date: 2004/12/05 19:11:09; author: rwatson; state: Exp; lines: +13 -10 Start working through inpcb locking for ip_ctloutput() by cleaning up modifications to the inpcb IP options mbuf: - Lock the inpcb before passing it into ip_pcbopts() in order to prevent simulatenous reads and read-modify-writes that could result in races. - Pass the inpcb reference into ip_pcbopts() instead of the option chain pointer in the inpcb. - Assert the inpcb lock in ip_pcbots. - Convert one or two uses of a pointer as a boolean or an integer comparison to a comparison with NULL for readability. END