On Mon, Sep 28, 2015 at 02:34:04PM +0200, Denys Vlasenko wrote: > Seemingly innocuous sctp_trans_state_to_prio_map[] array > is way bigger than it looks, since > "[SCTP_UNKNOWN] = 2" expands into "[0xffff] = 2" ! > > This patch replaces it with switch() statement. > > Signed-off-by: Denys Vlasenko <dvlasenk@xxxxxxxxxx> > CC: Vlad Yasevich <vyasevich@xxxxxxxxx> > CC: Neil Horman <nhorman@xxxxxxxxxxxxx> > CC: Marcelo Ricardo Leitner <marcelo.leitner@xxxxxxxxx> > CC: linux-sctp@xxxxxxxxxxxxxxx > CC: netdev@xxxxxxxxxxxxxxx > CC: linux-kernel@xxxxxxxxxxxxxxx Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@xxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-sctp" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html