diff options
Diffstat (limited to 'net/sctp/input.c')
-rw-r--r-- | net/sctp/input.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/sctp/input.c b/net/sctp/input.c index ea2192444ce6..5436c6921167 100644 --- a/net/sctp/input.c +++ b/net/sctp/input.c | |||
@@ -948,14 +948,11 @@ static struct sctp_association *__sctp_rcv_init_lookup(struct sk_buff *skb, | |||
948 | union sctp_addr addr; | 948 | union sctp_addr addr; |
949 | union sctp_addr *paddr = &addr; | 949 | union sctp_addr *paddr = &addr; |
950 | struct sctphdr *sh = sctp_hdr(skb); | 950 | struct sctphdr *sh = sctp_hdr(skb); |
951 | sctp_chunkhdr_t *ch; | ||
952 | union sctp_params params; | 951 | union sctp_params params; |
953 | sctp_init_chunk_t *init; | 952 | sctp_init_chunk_t *init; |
954 | struct sctp_transport *transport; | 953 | struct sctp_transport *transport; |
955 | struct sctp_af *af; | 954 | struct sctp_af *af; |
956 | 955 | ||
957 | ch = (sctp_chunkhdr_t *) skb->data; | ||
958 | |||
959 | /* | 956 | /* |
960 | * This code will NOT touch anything inside the chunk--it is | 957 | * This code will NOT touch anything inside the chunk--it is |
961 | * strictly READ-ONLY. | 958 | * strictly READ-ONLY. |
@@ -1037,7 +1034,7 @@ static struct sctp_association *__sctp_rcv_asconf_lookup( | |||
1037 | * association. | 1034 | * association. |
1038 | * | 1035 | * |
1039 | * This means that any chunks that can help us identify the association need | 1036 | * This means that any chunks that can help us identify the association need |
1040 | * to be looked at to find this assocation. | 1037 | * to be looked at to find this association. |
1041 | */ | 1038 | */ |
1042 | static struct sctp_association *__sctp_rcv_walk_lookup(struct sk_buff *skb, | 1039 | static struct sctp_association *__sctp_rcv_walk_lookup(struct sk_buff *skb, |
1043 | const union sctp_addr *laddr, | 1040 | const union sctp_addr *laddr, |