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>
This commit is contained in:
David S. Miller
2011-05-06 16:32:47 -07:00
parent b57ae01a8a
commit 8663c938ce
2 changed files with 4 additions and 6 deletions

View File

@ -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;