diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-29 21:54:48 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-29 21:54:48 -0400 |
commit | bf603625660b1742004bf86432ce3c210d14d4fd (patch) | |
tree | db327975e92e01f2f2badb8ec5ae55282f156674 /net/sctp/input.c | |
parent | fbe96f92b3d9450e77a3a4bb1d46aa1bb908c1ab (diff) | |
parent | 6656e3c4c8e0c80f2d2bfece574876d269f64861 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6:
[ATM]: [lec] use refcnt to protect lec_arp_entries outside lock
[ATM]: [lec] add reference counting to lec_arp entries
[ATM]: [lec] use work queue instead of timer for lec arp expiry
[ATM]: [lec] old_close is no longer used
[ATM]: [lec] convert lec_arp_table to hlist
[ATM]: [lec] header indent, comment and whitespace cleanup
[ATM]: [lec] indent, comment and whitespace cleanup [continued]
[ATM]: [lec] indent, comment and whitespace cleanup
[SCTP]: Do not timestamp every SCTP packet.
[SCTP]: Use correct mask when disabling PMTUD.
[SCTP]: Include sk_buff overhead while updating the peer's receive window.
[SCTP]: Enable Nagle algorithm by default.
[BNX2]: Disable MSI on 5706 if AMD 8132 bridge is present.
[NetLabel]: audit fixups due to delayed feedback
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; |