sysprog21 / vwifi

A virtual wireless device driver for Linux
MIT License
203 stars 39 forks source link

Avoid directly modifying ndev->dev_addr #40

Closed rickywu0421 closed 1 year ago

rickywu0421 commented 1 year ago

Commit 406f42fa0d from linux kernel introduced a rbtree for faster Ethernet address look up. To maintain netdev->dev_addr in this tree we need to make all the writes to it go through appropriate helpers.