diff options
Diffstat (limited to 'net/sctp/input.c')
-rw-r--r-- | net/sctp/input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sctp/input.c b/net/sctp/input.c index 87feee166da9..1ff47b18724a 100644 --- a/net/sctp/input.c +++ b/net/sctp/input.c | |||
@@ -513,7 +513,7 @@ void sctp_v4_err(struct sk_buff *skb, __u32 info) | |||
513 | struct sctp_association *asoc = NULL; | 513 | struct sctp_association *asoc = NULL; |
514 | struct sctp_transport *transport; | 514 | struct sctp_transport *transport; |
515 | struct inet_sock *inet; | 515 | struct inet_sock *inet; |
516 | char *saveip, *savesctp; | 516 | sk_buff_data_t saveip, savesctp; |
517 | int err; | 517 | int err; |
518 | 518 | ||
519 | if (skb->len < ihlen + 8) { | 519 | if (skb->len < ihlen + 8) { |
@@ -527,7 +527,7 @@ void sctp_v4_err(struct sk_buff *skb, __u32 info) | |||
527 | skb_reset_network_header(skb); | 527 | skb_reset_network_header(skb); |
528 | skb_set_transport_header(skb, ihlen); | 528 | skb_set_transport_header(skb, ihlen); |
529 | sk = sctp_err_lookup(AF_INET, skb, sctp_hdr(skb), &asoc, &transport); | 529 | sk = sctp_err_lookup(AF_INET, skb, sctp_hdr(skb), &asoc, &transport); |
530 | /* Put back, the original pointers. */ | 530 | /* Put back, the original values. */ |
531 | skb->network_header = saveip; | 531 | skb->network_header = saveip; |
532 | skb->transport_header = savesctp; | 532 | skb->transport_header = savesctp; |
533 | if (!sk) { | 533 | if (!sk) { |