diff options
Diffstat (limited to 'net/sctp/input.c')
-rw-r--r-- | net/sctp/input.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/net/sctp/input.c b/net/sctp/input.c index 03f65de75d88..64f630102532 100644 --- a/net/sctp/input.c +++ b/net/sctp/input.c | |||
@@ -218,12 +218,6 @@ int sctp_rcv(struct sk_buff *skb) | |||
218 | } | 218 | } |
219 | } | 219 | } |
220 | 220 | ||
221 | /* SCTP seems to always need a timestamp right now (FIXME) */ | ||
222 | if (skb->tstamp.off_sec == 0) { | ||
223 | __net_timestamp(skb); | ||
224 | sock_enable_timestamp(sk); | ||
225 | } | ||
226 | |||
227 | if (!xfrm_policy_check(sk, XFRM_POLICY_IN, skb, family)) | 221 | if (!xfrm_policy_check(sk, XFRM_POLICY_IN, skb, family)) |
228 | goto discard_release; | 222 | goto discard_release; |
229 | nf_reset(skb); | 223 | nf_reset(skb); |
@@ -388,7 +382,7 @@ void sctp_icmp_frag_needed(struct sock *sk, struct sctp_association *asoc, | |||
388 | * pmtu discovery on this transport. | 382 | * pmtu discovery on this transport. |
389 | */ | 383 | */ |
390 | t->pathmtu = SCTP_DEFAULT_MINSEGMENT; | 384 | t->pathmtu = SCTP_DEFAULT_MINSEGMENT; |
391 | t->param_flags = (t->param_flags & ~SPP_HB) | | 385 | t->param_flags = (t->param_flags & ~SPP_PMTUD) | |
392 | SPP_PMTUD_DISABLE; | 386 | SPP_PMTUD_DISABLE; |
393 | } else { | 387 | } else { |
394 | t->pathmtu = pmtu; | 388 | t->pathmtu = pmtu; |