[net] protecting interfaces from races between control and data ?

Adrian Chadd adrian at freebsd.org
Fri Aug 9 00:18:05 UTC 2013


.. and it's not just about "saturate the port" with traffic.

It's also about "what happens if I shut down the MAC whilst I'm in the
process of programming in new RX/TX descriptors?"

The ath(4) driver had a spectacular behaviour where if you mess things
up the wrong way it will quite happily DMA crap all over the memory of
your running system, leading to quite hilarious bugs.



-adrian


More information about the freebsd-net mailing list