diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-20 20:06:24 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:26:35 -0500 |
commit | 854d43a465cc8ba8e501320b3bc27359d909da2f (patch) | |
tree | 6a1d4d5aa91eb4a945f79e3a1420b541705b32a5 /net/sctp/ipv6.c | |
parent | acd2bc96e19535fcd74c6eb94532c19c817857bd (diff) |
[SCTP]: Annotate ->dst_saddr()
switched to taking a pointer to net-endian sctp_addr
and a net-endian port number. Instances and callers
adjusted; interestingly enough, the only calls are
direct calls of specific instances - the method is not
used at all.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/ipv6.c')
-rw-r--r-- | net/sctp/ipv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/ipv6.c b/net/sctp/ipv6.c index 8ebd177296ba..6139d1d964eb 100644 --- a/net/sctp/ipv6.c +++ b/net/sctp/ipv6.c | |||
@@ -434,7 +434,7 @@ static int sctp_v6_to_addr_param(const union sctp_addr *addr, | |||
434 | 434 | ||
435 | /* Initialize a sctp_addr from a dst_entry. */ | 435 | /* Initialize a sctp_addr from a dst_entry. */ |
436 | static void sctp_v6_dst_saddr(union sctp_addr *addr, struct dst_entry *dst, | 436 | static void sctp_v6_dst_saddr(union sctp_addr *addr, struct dst_entry *dst, |
437 | unsigned short port) | 437 | __be16 port) |
438 | { | 438 | { |
439 | struct rt6_info *rt = (struct rt6_info *)dst; | 439 | struct rt6_info *rt = (struct rt6_info *)dst; |
440 | addr->sa.sa_family = AF_INET6; | 440 | addr->sa.sa_family = AF_INET6; |