diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2012-08-07 03:27:02 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-15 02:30:37 -0400 |
commit | e7ff4a7037e6908b7a5f4682945a0b097d5b3535 (patch) | |
tree | 8a1be09931a1fc75857a03171d5d77377b3dd62c /net/sctp/protocol.c | |
parent | 89bf3450cb9b041b1bb4bcc5e7cbdeab4545b1c1 (diff) |
sctp: Push struct net down into sctp_in_scope
struct net will be needed shortly when the tunables are made per network
namespace.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/protocol.c')
-rw-r--r-- | net/sctp/protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c index 0f2342be61f3..59965bdea07a 100644 --- a/net/sctp/protocol.c +++ b/net/sctp/protocol.c | |||
@@ -210,7 +210,7 @@ int sctp_copy_local_addr_list(struct net *net, struct sctp_bind_addr *bp, | |||
210 | list_for_each_entry_rcu(addr, &net->sctp.local_addr_list, list) { | 210 | list_for_each_entry_rcu(addr, &net->sctp.local_addr_list, list) { |
211 | if (!addr->valid) | 211 | if (!addr->valid) |
212 | continue; | 212 | continue; |
213 | if (sctp_in_scope(&addr->a, scope)) { | 213 | if (sctp_in_scope(net, &addr->a, scope)) { |
214 | /* Now that the address is in scope, check to see if | 214 | /* Now that the address is in scope, check to see if |
215 | * the address type is really supported by the local | 215 | * the address type is really supported by the local |
216 | * sock as well as the remote peer. | 216 | * sock as well as the remote peer. |