aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/sctp
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-05-06 16:32:47 -0700
committerDavid S. Miller <davem@davemloft.net>2011-05-08 14:05:14 -0700
commit8663c938ceb72f47941c95ff0ea491ebbdd68f26 (patch)
treef87bf63fb7f8ca29e01083e742c0530c25a9feb9 /include/net/sctp
parentipv4: Use cork flow in ip_queue_xmit() (diff)
downloadlinux-dev-8663c938ceb72f47941c95ff0ea491ebbdd68f26.tar.xz
linux-dev-8663c938ceb72f47941c95ff0ea491ebbdd68f26.zip
sctp: Store a flowi in transports to provide persistent keying.
Several future simplifications are possible now because of this. For example, the sctp_addr unions can simply refer directly to the flowi information. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sctp')
-rw-r--r--include/net/sctp/structs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h
index ff3e8cce7d66..795f4886e111 100644
--- a/include/net/sctp/structs.h
+++ b/include/net/sctp/structs.h
@@ -894,6 +894,7 @@ struct sctp_transport {
/* Is this structure kfree()able? */
malloced:1;
+ struct flowi fl;
/* This is the peer's IP address and port. */
union sctp_addr ipaddr;