[PATCH 6.1 068/600] sctp: handle invalid error codes without calling BUG()