Invert broken check of panic string in if_linkstate().
authorbluhm <bluhm@openbsd.org>
Tue, 6 Feb 2024 00:18:53 +0000 (00:18 +0000)
committerbluhm <bluhm@openbsd.org>
Tue, 6 Feb 2024 00:18:53 +0000 (00:18 +0000)
commitd618cc99d763265495b18c5530371ae48d1f51c4
treee291a00ad4ca321bc7095f6e425f26305e1e7745
parent4637c918c063689a6578b0f77cdebb6d7d6abc3b
Invert broken check of panic string in if_linkstate().

original bug report from syzkaller
Reported-by: syzbot+d19060a65721eb432a72@syzkaller.appspotmail.com
broken fix found by Hrvoje Popovski
hint to the problem and OK deraadt@
sys/net/if.c