summaryrefslogtreecommitdiff
path: root/net/netfilter/nf_nat_proto_sctp.c
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-06-30 11:52:12 +0800
committerDavid S. Miller <davem@davemloft.net>2017-07-01 09:08:41 -0700
commitae146d9b76589d636d11c5e4382bbba2fe8bdb9b (patch)
tree1c816c31c77c71e85198e7d0cd703fc66bd28b20 /net/netfilter/nf_nat_proto_sctp.c
parent13834451950f557cbbc3129426e72e763f2d63ee (diff)
sctp: remove the typedef sctp_sctphdr_t
This patch is to remove the typedef sctp_sctphdr_t, and replace with struct sctphdr in the places where it's using this typedef. It is also to fix some indents and 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>
Diffstat (limited to 'net/netfilter/nf_nat_proto_sctp.c')
-rw-r--r--net/netfilter/nf_nat_proto_sctp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nf_nat_proto_sctp.c b/net/netfilter/nf_nat_proto_sctp.c
index 804e8a0ab36e..c57ee3240b1d 100644
--- a/net/netfilter/nf_nat_proto_sctp.c
+++ b/net/netfilter/nf_nat_proto_sctp.c
@@ -32,7 +32,7 @@ sctp_manip_pkt(struct sk_buff *skb,
const struct nf_conntrack_tuple *tuple,
enum nf_nat_manip_type maniptype)
{
- sctp_sctphdr_t *hdr;
+ struct sctphdr *hdr;
int hdrsize = 8;
/* This could be an inner header returned in imcp packet; in such