]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
sctp: remove the typedef sctp_datahdr_t
authorXin Long <lucien.xin@gmail.com>
Fri, 30 Jun 2017 03:52:19 +0000 (11:52 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Jul 2017 16:08:41 +0000 (09:08 -0700)
commit3583df1a3d7328b42cf116db3fb56b0368fab12b
tree56fbc39a98b8b7c4e608c91ab6492c3d6b03fce5
parent0664ed4378907c936fbee811efe95650d32baf34
sctp: remove the typedef sctp_datahdr_t

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

It is also to use izeof(variable) instead of sizeof(type).

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/sctp.h
net/sctp/sm_statefuns.c