]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit372c1176999ee13a3aa5875da413192c17768461
tree5d86f92e1e86d0e3da98255617ecafc3db969d89
parent48472f4b1508b7f2c9f75d2ffdb382d026012455
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