diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-07-17 05:29:50 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-17 05:52:13 +0200 |
commit | 00987cc07e3f0f01699800cd89adf13a908cdee5 (patch) | |
tree | 4ef6dd5f025cb347a3a6acee2b7453a70ac77285 /net/sctp/ipv6.c | |
parent | sctp: remove the typedef sctp_ipv4addr_param_t (diff) | |
download | linux-00987cc07e3f0f01699800cd89adf13a908cdee5.tar.xz linux-00987cc07e3f0f01699800cd89adf13a908cdee5.zip |
sctp: remove the typedef sctp_ipv6addr_param_t
This patch is to remove the typedef sctp_ipv6addr_param_t, and replace
with struct sctp_ipv6addr_param in the places where it's using this
typedef.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/ipv6.c')
-rw-r--r-- | net/sctp/ipv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/ipv6.c b/net/sctp/ipv6.c index 2a186b201ad2..107d7c912922 100644 --- a/net/sctp/ipv6.c +++ b/net/sctp/ipv6.c @@ -497,7 +497,7 @@ static void sctp_v6_from_addr_param(union sctp_addr *addr, static int sctp_v6_to_addr_param(const union sctp_addr *addr, union sctp_addr_param *param) { - int length = sizeof(sctp_ipv6addr_param_t); + int length = sizeof(struct sctp_ipv6addr_param); param->v6.param_hdr.type = SCTP_PARAM_IPV6_ADDRESS; param->v6.param_hdr.length = htons(length); |