summaryrefslogtreecommitdiff
path: root/drivers/firewire
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2018-09-29 00:51:48 +0300
committerDavid S. Miller <davem@davemloft.net>2018-10-02 09:27:28 +0300
commitc7256f579f8302ce2c038181c30060d0b40017b2 (patch)
tree711dba8be73a7b425c523b09098b57f7f77d330e /drivers/firewire
parent06e55addd3f40b5294e448c2cb7605ca4f28c2e3 (diff)
downloadlinux-c7256f579f8302ce2c038181c30060d0b40017b2.tar.xz
tun: initialize napi_mutex unconditionally
This is the first part to fix following syzbot report : console output: https://syzkaller.appspot.com/x/log.txt?x=145378e6400000 kernel config: https://syzkaller.appspot.com/x/.config?x=443816db871edd66 dashboard link: https://syzkaller.appspot.com/bug?extid=e662df0ac1d753b57e80 Following patch is fixing the race condition, but it seems safer to initialize this mutex at tfile creation anyway. Fixes: 90e33d459407 ("tun: enable napi_gro_frags() for TUN/TAP driver") Signed-off-by: Eric Dumazet <edumazet@google.com> Reported-by: syzbot+e662df0ac1d753b57e80@syzkaller.appspotmail.com Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/firewire')
0 files changed, 0 insertions, 0 deletions