summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller2011-05-07 01:32:47 +0200
committerDavid S. Miller2011-05-08 23:05:14 +0200
commit8663c938ceb72f47941c95ff0ea491ebbdd68f26 (patch)
treef87bf63fb7f8ca29e01083e742c0530c25a9feb9 /include
parentipv4: Use cork flow in ip_queue_xmit() (diff)
downloadkernel-qcow2-linux-8663c938ceb72f47941c95ff0ea491ebbdd68f26.tar.gz
kernel-qcow2-linux-8663c938ceb72f47941c95ff0ea491ebbdd68f26.tar.xz
kernel-qcow2-linux-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')
-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;