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-11-05 16:44:25 +00:00
2011-11-04 04:06:31 +00:00
2011-11-06 08:10:41 +00:00
2011-10-30 14:55:00 +00:00
2011-10-27 14:15:26 +00:00
2011-11-05 09:04:13 +00:00
2011-11-06 08:10:41 +00:00
2011-10-04 23:53:47 +00:00
2011-10-16 14:30:28 +00:00
2011-10-18 08:09:44 +00:00