diff options
author | Vlad Yasevich <vladislav.yasevich@hp.com> | 2011-04-26 17:54:17 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-27 16:14:06 -0400 |
commit | da0420bee24a1ba54e55a61e95b1a53205d7e62d (patch) | |
tree | b17401ad5e6d97f8e3c8649725d5ca0a20e1b765 /include/net | |
parent | af1384703f8a4ff3d245925d6596ef1c5c6e469e (diff) |
sctp: clean up route lookup calls
Change the call to take the transport parameter and set the
cached 'dst' appropriately inside the get_dst() function calls.
This will allow us in the future to clean up source address
storage as well.
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/sctp/structs.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index bb2f43b7e9a8..ff3e8cce7d66 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h | |||
@@ -564,8 +564,7 @@ struct sctp_af { | |||
564 | int optname, | 564 | int optname, |
565 | char __user *optval, | 565 | char __user *optval, |
566 | int __user *optlen); | 566 | int __user *optlen); |
567 | struct dst_entry *(*get_dst) (struct sctp_association *asoc, | 567 | void (*get_dst) (struct sctp_transport *t, |
568 | union sctp_addr *daddr, | ||
569 | union sctp_addr *saddr, | 568 | union sctp_addr *saddr, |
570 | struct flowi *fl, | 569 | struct flowi *fl, |
571 | struct sock *sk); | 570 | struct sock *sk); |