# Re: \[PATCH\] forcedeth: fix random memory scribbling bug

- From: Francois Romieu \<romieu@fr.zoreil.com\>
- Date: 2005-12-24 21:24:48 
- List: netdev
- Page: https://ratatoskr.run/netdev/2005/12/793973

```text
Jeff Garzik [ref] :
[...]
> Paranoia -- the situation above never occurs.  It is coded as are other 
> drivers:  np->rx_buf_sz only changes in ->change_mtu(), which (a) is 
> serialized against close and (b) always stops the engine and drains RX 
> skbs before changing the size.

Yep.

Btw, regarding the "more sense" thing, now:
- pci_{map/unmap}_single() uses skb->foo
- nv_alloc_rx() and friends use np->rx_buf_sz

(thread moved to netdev@vger.kernel.org)

--
Ueimor
```
