On Sunday, 6 June 2021 16:28:17 CEST Tetsuo Handa wrote:
syzbot is hitting
WARN_ON(forw_packet->if_outgoing->soft_iface != soft_iface)
at batadv_iv_ogm_emit() , for forw_packet->if_outgoing->soft_iface
can remain NULL if batadv_hardif_enable_interface() failed due to e.g.
memory allocation fault injection.
Cannot apply this because following (conflicting) is already queued up in
Applying patch #18340 using 'git am -s'
Description: batman-adv: don't warn when enslaving hard interface failed
Applying: batman-adv: don't warn when enslaving hard interface failed
error: patch failed: net/batman-adv/bat_iv_ogm.c:409
error: net/batman-adv/bat_iv_ogm.c: patch does not apply
Patch failed at 0001 batman-adv: don't warn when enslaving hard interface failed
hint: Use 'git am --show-current-patch=diff' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
'git am' failed with exit status 128
Please rebase your patch in case it is really needed.
And the explanation you give seems to be bogus. Or am I missing some error
handling in batadv_hardif_enable_interface ?