sctp: remove the typedef sctp_chunkhdr_t
authorXin Long <lucien.xin@gmail.com>
Fri, 30 Jun 2017 03:52:13 +0000 (11:52 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Jul 2017 16:08:41 +0000 (09:08 -0700)
commit922dbc5be2186659d2c453a53f2ae569e55b6101
tree5d86f92e1e86d0e3da98255617ecafc3db969d89
parentae146d9b76589d636d11c5e4382bbba2fe8bdb9b
sctp: remove the typedef sctp_chunkhdr_t

This patch is to remove the typedef sctp_chunkhdr_t, and replace
with struct sctp_chunkhdr in the places where it's using this
typedef.

It is also to fix some indents and use sizeof(variable) instead
of sizeof(type)., especially in sctp_new.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
12 files changed:
include/linux/sctp.h
include/net/sctp/sctp.h
net/netfilter/ipvs/ip_vs_core.c
net/netfilter/ipvs/ip_vs_proto_sctp.c
net/netfilter/nf_conntrack_proto_sctp.c
net/netfilter/xt_sctp.c
net/sctp/input.c
net/sctp/inqueue.c
net/sctp/sm_make_chunk.c
net/sctp/sm_sideeffect.c
net/sctp/sm_statefuns.c
net/sctp/ulpevent.c