NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/40491: 5.0: nfs timer can crash/break on smp

>Number:         40491
>Category:       kern
>Synopsis:       5.0: nfs timer can crash/break on smp
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 26 23:55:00 +0000 2009
>Originator:     Andrew Doran
>Release:        5.0_BETA
The NetBSD Project
pooka found a problem with the nfs timer.

solock() can block, and the request being processed can be freed
or change state.

Use nfs client, be unlucky.

A cheap and cheerful fix for 5.0 is to comment out the solock/sounlock,
and grab softnet_lock around the whole block.

Home | Main Index | Thread Index | Old Index