Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1234731
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2] net: sctp: Don't use 64 kilobyte lookup table for four elements |
| Date | 2015-09-29 08:00 +0200 |
| Message-ID | <qdW7f-5ZL-3@gated-at.bofh.it> (permalink) |
| References | <qdFSO-5O5-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Denys Vlasenko <dvlasenk@redhat.com> Date: Mon, 28 Sep 2015 14:34:04 +0200 > 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@redhat.com> Applied, thank you. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2] net: sctp: Don't use 64 kilobyte lookup table for four elements Denys Vlasenko <dvlasenk@redhat.com> - 2015-09-28 14:40 +0200
Re: [PATCH v2] net: sctp: Don't use 64 kilobyte lookup table for four elements Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> - 2015-09-28 14:50 +0200
Re: [PATCH v2] net: sctp: Don't use 64 kilobyte lookup table for four elements Neil Horman <nhorman@tuxdriver.com> - 2015-09-28 16:00 +0200
RE: [PATCH v2] net: sctp: Don't use 64 kilobyte lookup table for four elements David Laight <David.Laight@ACULAB.COM> - 2015-09-28 16:20 +0200
Re: [PATCH v2] net: sctp: Don't use 64 kilobyte lookup table for four elements Eric Dumazet <eric.dumazet@gmail.com> - 2015-09-28 16:30 +0200
RE: [PATCH v2] net: sctp: Don't use 64 kilobyte lookup table for four elements David Laight <David.Laight@ACULAB.COM> - 2015-09-28 17:40 +0200
Re: [PATCH v2] net: sctp: Don't use 64 kilobyte lookup table for four elements Denys Vlasenko <dvlasenk@redhat.com> - 2015-09-28 19:30 +0200
Re: [PATCH v2] net: sctp: Don't use 64 kilobyte lookup table for four elements David Miller <davem@davemloft.net> - 2015-09-29 08:00 +0200
csiph-web