Re: [bug report] net: fix dev_ifsioc_locked() race condition

2021-02-16 Thread Cong Wang
On Tue, Feb 16, 2021 at 11:40 AM Dan Carpenter wrote: > > Hello Cong Wang, > > The patch 3b23a32a6321: "net: fix dev_ifsioc_locked() race condition" > from Feb 11, 2021, leads to the following static checker warning: > > drivers/net/tap.c:1095 tap_ioctl() > warn: check that 'sa.sa_

[bug report] net: fix dev_ifsioc_locked() race condition

2021-02-16 Thread Dan Carpenter
Hello Cong Wang, The patch 3b23a32a6321: "net: fix dev_ifsioc_locked() race condition" from Feb 11, 2021, leads to the following static checker warning: drivers/net/tap.c:1095 tap_ioctl() warn: check that 'sa.sa_family' doesn't leak information drivers/net/tap.c 1084 1085