]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: rename WORD_TRUNC/ROUND macros
authorMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Wed, 21 Sep 2016 11:45:55 +0000 (08:45 -0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Sep 2016 07:13:26 +0000 (03:13 -0400)
commit298b2bc983e0cf726c13f52c3d4f9798745dd9d2
treec8a53f43b53beaa61a994f5b3a8d31645e1bac27
parentb6be59bd4ce56b0cb9e5e45a96380973193463ac
sctp: rename WORD_TRUNC/ROUND macros

To something more meaningful these days, specially because this is
working on packet headers or lengths and which are not tied to any CPU
arch but to the protocol itself.

So, WORD_TRUNC becomes SCTP_TRUNC4 and WORD_ROUND becomes SCTP_PAD4.

Reported-by: David Laight <David.Laight@ACULAB.COM>
Reported-by: David Miller <davem@davemloft.net>
Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/sctp.h
net/netfilter/xt_sctp.c
net/sctp/associola.c
net/sctp/chunk.c
net/sctp/input.c
net/sctp/inqueue.c
net/sctp/output.c
net/sctp/sm_make_chunk.c
net/sctp/sm_statefuns.c
net/sctp/transport.c
net/sctp/ulpevent.c