Mikolaj Golub fc06cd427e Cache SO_REUSEPORT socket option in inpcb-layer in order to avoid
inp_socket->so_options dereference when we may not acquire the lock on
the inpcb.

This fixes the crash due to NULL pointer dereference in
in_pcbbind_setup() when inp_socket->so_options in a pcb returned by
in_pcblookup_local() was checked.

Reported by:	dave jones <s.dave.jones@gmail.com>, Arnaud Lacombe <lacombar@gmail.com>
Suggested by:	rwatson
Glanced by:	rwatson
Tested by:	dave jones <s.dave.jones@gmail.com>
2011-11-06 10:47:20 +00:00
..
2011-04-13 11:28:46 +00:00
2011-08-01 13:41:38 +00:00
2011-08-20 17:05:11 +00:00
2011-09-15 12:20:52 +00:00
2011-05-29 18:41:06 +00:00
2011-04-30 11:22:30 +00:00
2011-05-29 18:41:06 +00:00
2011-01-07 21:40:34 +00:00
2011-10-21 12:58:34 +00:00
2011-08-20 17:05:11 +00:00
2011-10-16 10:58:00 +00:00
2011-01-07 21:40:34 +00:00