Author :
bluhm
Date :
2025-02-21 22:21:20
Hash :45a54130 Message :Move kassert from resolve to add case in rtrequest().
In case RTM_RESOLVE there is already an assertion about ifa_ifp !=
NULL. Move it down after the fallthrough to cover also RTM_ADD.
This should give a better hint from syzkaller what is going wrong.
Reported-by: syzbot+f77fe03091e5efd9aaf9@syzkaller.appspotmail.com
OK claudio@