From: David Laight Date: Fri, 4 Jul 2014 14:35:57 +0000 (+0000) Subject: net: sctp: Use pointers (not array indexes) to access sctp_cmd_seq_t.cmds[]. X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~208^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1a3fe26e97c0f17579c39f8a446c50f7cc3154a;p=pandora-kernel.git net: sctp: Use pointers (not array indexes) to access sctp_cmd_seq_t.cmds[]. Using pointers into sctp_cmd_seq_t.cmds[] lets the compiler generate much better code. Use the last entry first to optimise the overflow check. Signed-off-by: David Laight Signed-off-by: David S. Miller --- Reading git-diff-tree failed