Source-Changes-D archive

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

Re: CVS commit: src/sys/net/npf

On Tue, 29 Oct 2013, Mindaugas Rasiukevicius wrote:

npf_session_setnat: fix the race condition when the old connection is
still being expired while a new/duplicate is being created.

Should we have (or do we have) a regression test to catch this race

You would need to write a test simulating a particular condition and then
trying to brute-force the race.  It requires a bit of coding as it is not
an easy race to trigger.  Let me know if you want to volunteer.

Thanks!   :)

Unfortuantely I don't think I can volunteer (probably wouldn't be productive, anyway).

| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at |
| Kernel Developer |                          | pgoyette at  |

Home | Main Index | Thread Index | Old Index