aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/sm_make_chunk.c
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-07-17 11:29:50 +0800
committerDavid S. Miller <davem@davemloft.net>2017-07-16 20:52:13 -0700
commit00987cc07e3f0f01699800cd89adf13a908cdee5 (patch)
tree4ef6dd5f025cb347a3a6acee2b7453a70ac77285 /net/sctp/sm_make_chunk.c
parentsctp: remove the typedef sctp_ipv4addr_param_t (diff)
downloadlinux-dev-00987cc07e3f0f01699800cd89adf13a908cdee5.tar.xz
linux-dev-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 '')
-rw-r--r--net/sctp/sm_make_chunk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c
index 0dc64da74d55..e5be305072b5 100644
--- a/net/sctp/sm_make_chunk.c
+++ b/net/sctp/sm_make_chunk.c
@@ -3163,7 +3163,7 @@ bool sctp_verify_asconf(const struct sctp_association *asoc,
addr_param_seen = true;
break;
case SCTP_PARAM_IPV6_ADDRESS:
- if (length != sizeof(sctp_ipv6addr_param_t))
+ if (length != sizeof(struct sctp_ipv6addr_param))
return false;
if (param.v != addip->addip_hdr.params)
return false;