[PATCH 5.10 056/406] sctp: handle invalid error codes without calling BUG()