kernel/net/sctp/sm_sideeffect.c
.. .. @@ -1241,7 +1241,10 @@ 1241 1241 default: 1242 1242 pr_err("impossible disposition %d in state %d, event_type %d, event_id %d\n", 1243 1243 status, state, event_type, subtype.chunk); 1244 - BUG();1244 + error = status;1245 + if (error >= 0)1246 + error = -EINVAL;1247 + WARN_ON_ONCE(1);1245 1248 break; 1246 1249 } 1247 1250