]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: remove the typedef sctp_authhdr_t
authorXin Long <lucien.xin@gmail.com>
Thu, 3 Aug 2017 07:42:21 +0000 (15:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Aug 2017 16:45:47 +0000 (09:45 -0700)
commit6ad83b7a0fb27715c7b4d577927c41775f1416b4
tree39270cb3dd961d27b587976fda3c87499fdc817c
parent5a20f75ddd4ff591199ce2809870bf2096374cdb
sctp: remove the typedef sctp_authhdr_t

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

It is also to use sizeof(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_make_chunk.c