summaryrefslogtreecommitdiffstats
path: root/include/net/sctp/sctp.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-06-14 22:06:21 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2007-06-14 22:06:21 +0200
commit559f0a2857f1d1a93c4f398d2775e228fdb8b8ce (patch)
treeab30bcb58b49c17aa40942ebfb446a8e3a26deac /include/net/sctp/sctp.h
parent[IPV6] addrconf: Fix IPv6 on tuntap tunnels (diff)
parent[SCTP] Don't disable PMTU discovery when mtu is small (diff)
downloadlinux-559f0a2857f1d1a93c4f398d2775e228fdb8b8ce.tar.xz
linux-559f0a2857f1d1a93c4f398d2775e228fdb8b8ce.zip
Merge master.kernel.org:/pub/scm/linux/kernel/git/vxy/lksctp-dev
Diffstat (limited to 'include/net/sctp/sctp.h')
-rw-r--r--include/net/sctp/sctp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h
index dda72bf5b9b4..16baef4dab7e 100644
--- a/include/net/sctp/sctp.h
+++ b/include/net/sctp/sctp.h
@@ -503,6 +503,13 @@ static inline int sctp_frag_point(const struct sctp_sock *sp, int pmtu)
return frag;
}
+static inline void sctp_assoc_pending_pmtu(struct sctp_association *asoc)
+{
+
+ sctp_assoc_sync_pmtu(asoc);
+ asoc->pmtu_pending = 0;
+}
+
/* Walk through a list of TLV parameters. Don't trust the
* individual parameter lengths and instead depend on
* the chunk length to indicate when to stop. Make sure