Re: Data race on dev->mtu betwen __dev_set_mtu() and rawv6_send_hdrinc()

2021-02-23 Thread Willem de Bruijn
On Mon, Feb 22, 2021 at 6:30 PM Gong, Sishuai wrote: > > Hello, > > We found a data race on dev->mtu between function __dev_set_mtu() and > rawv6_send_hdrinc(). It happens with the following interleaving. > > writer: __dev_set_mtu() >

Data race on dev->mtu betwen __dev_set_mtu() and rawv6_send_hdrinc()

2021-02-22 Thread Gong, Sishuai
Hello, We found a data race on dev->mtu between function __dev_set_mtu() and rawv6_send_hdrinc(). It happens with the following interleaving. writer: __dev_set_mtu() reader: rawv6_send_hdrinc()