summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/include
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2018-01-25 14:47:36 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2018-01-25 14:47:36 +0000
commitc4ca663c8aa85771ec354935314c0470d9f557c2 (patch)
tree28a0ffb39d43d5076eeae34a712524068422d41b /sys/arch/alpha/include
parent4318a51d24a39bcc62cb7a7ef6feb4082c9e923f (diff)
Use a workaround for detached parent in carp_proto_input_c().
A NULL dereference can happen since processing protocol layer is deffered to a second task. In other words the NET_LOCK() is released then regrabbed between ip_input() and carp_proto_input(). The same workaround is already in use in carp_output() due to deffered processing in case of IPsec. The real fix is to make carp(4) MP-safe and use if_get(9) there, any taker? Found & fix tested by Hrvoje Popovski.
Diffstat (limited to 'sys/arch/alpha/include')
0 files changed, 0 insertions, 0 deletions