diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-12-28 15:49:40 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-12-28 15:49:40 -0500 |
commit | 0191b625ca5a46206d2fb862bb08f36f2fcb3b31 (patch) | |
tree | 454d1842b1833d976da62abcbd5c47521ebe9bd7 /net/rxrpc/ar-local.c | |
parent | 54a696bd07c14d3b1192d03ce7269bc59b45209a (diff) | |
parent | eb56092fc168bf5af199d47af50c0d84a96db898 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6: (1429 commits)
net: Allow dependancies of FDDI & Tokenring to be modular.
igb: Fix build warning when DCA is disabled.
net: Fix warning fallout from recent NAPI interface changes.
gro: Fix potential use after free
sfc: If AN is enabled, always read speed/duplex from the AN advertising bits
sfc: When disabling the NIC, close the device rather than unregistering it
sfc: SFT9001: Add cable diagnostics
sfc: Add support for multiple PHY self-tests
sfc: Merge top-level functions for self-tests
sfc: Clean up PHY mode management in loopback self-test
sfc: Fix unreliable link detection in some loopback modes
sfc: Generate unique names for per-NIC workqueues
802.3ad: use standard ethhdr instead of ad_header
802.3ad: generalize out mac address initializer
802.3ad: initialize ports LACPDU from const initializer
802.3ad: remove typedef around ad_system
802.3ad: turn ports is_individual into a bool
802.3ad: turn ports is_enabled into a bool
802.3ad: make ntt bool
ixgbe: Fix set_ringparam in ixgbe to use the same memory pools.
...
Fixed trivial IPv4/6 address printing conflicts in fs/cifs/connect.c due
to the conversion to %pI (in this networking merge) and the addition of
doing IPv6 addresses (from the earlier merge of CIFS).
Diffstat (limited to 'net/rxrpc/ar-local.c')
-rw-r--r-- | net/rxrpc/ar-local.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/net/rxrpc/ar-local.c b/net/rxrpc/ar-local.c index f3a2bd747a8f..807535ff29b5 100644 --- a/net/rxrpc/ar-local.c +++ b/net/rxrpc/ar-local.c | |||
@@ -131,10 +131,10 @@ struct rxrpc_local *rxrpc_lookup_local(struct sockaddr_rxrpc *srx) | |||
131 | struct rxrpc_local *local; | 131 | struct rxrpc_local *local; |
132 | int ret; | 132 | int ret; |
133 | 133 | ||
134 | _enter("{%d,%u,%u.%u.%u.%u+%hu}", | 134 | _enter("{%d,%u,%pI4+%hu}", |
135 | srx->transport_type, | 135 | srx->transport_type, |
136 | srx->transport.family, | 136 | srx->transport.family, |
137 | NIPQUAD(srx->transport.sin.sin_addr), | 137 | &srx->transport.sin.sin_addr, |
138 | ntohs(srx->transport.sin.sin_port)); | 138 | ntohs(srx->transport.sin.sin_port)); |
139 | 139 | ||
140 | down_write(&rxrpc_local_sem); | 140 | down_write(&rxrpc_local_sem); |
@@ -143,10 +143,10 @@ struct rxrpc_local *rxrpc_lookup_local(struct sockaddr_rxrpc *srx) | |||
143 | read_lock_bh(&rxrpc_local_lock); | 143 | read_lock_bh(&rxrpc_local_lock); |
144 | 144 | ||
145 | list_for_each_entry(local, &rxrpc_locals, link) { | 145 | list_for_each_entry(local, &rxrpc_locals, link) { |
146 | _debug("CMP {%d,%u,%u.%u.%u.%u+%hu}", | 146 | _debug("CMP {%d,%u,%pI4+%hu}", |
147 | local->srx.transport_type, | 147 | local->srx.transport_type, |
148 | local->srx.transport.family, | 148 | local->srx.transport.family, |
149 | NIPQUAD(local->srx.transport.sin.sin_addr), | 149 | &local->srx.transport.sin.sin_addr, |
150 | ntohs(local->srx.transport.sin.sin_port)); | 150 | ntohs(local->srx.transport.sin.sin_port)); |
151 | 151 | ||
152 | if (local->srx.transport_type != srx->transport_type || | 152 | if (local->srx.transport_type != srx->transport_type || |
@@ -188,11 +188,11 @@ struct rxrpc_local *rxrpc_lookup_local(struct sockaddr_rxrpc *srx) | |||
188 | 188 | ||
189 | up_write(&rxrpc_local_sem); | 189 | up_write(&rxrpc_local_sem); |
190 | 190 | ||
191 | _net("LOCAL new %d {%d,%u,%u.%u.%u.%u+%hu}", | 191 | _net("LOCAL new %d {%d,%u,%pI4+%hu}", |
192 | local->debug_id, | 192 | local->debug_id, |
193 | local->srx.transport_type, | 193 | local->srx.transport_type, |
194 | local->srx.transport.family, | 194 | local->srx.transport.family, |
195 | NIPQUAD(local->srx.transport.sin.sin_addr), | 195 | &local->srx.transport.sin.sin_addr, |
196 | ntohs(local->srx.transport.sin.sin_port)); | 196 | ntohs(local->srx.transport.sin.sin_port)); |
197 | 197 | ||
198 | _leave(" = %p [new]", local); | 198 | _leave(" = %p [new]", local); |
@@ -203,11 +203,11 @@ found_local: | |||
203 | read_unlock_bh(&rxrpc_local_lock); | 203 | read_unlock_bh(&rxrpc_local_lock); |
204 | up_write(&rxrpc_local_sem); | 204 | up_write(&rxrpc_local_sem); |
205 | 205 | ||
206 | _net("LOCAL old %d {%d,%u,%u.%u.%u.%u+%hu}", | 206 | _net("LOCAL old %d {%d,%u,%pI4+%hu}", |
207 | local->debug_id, | 207 | local->debug_id, |
208 | local->srx.transport_type, | 208 | local->srx.transport_type, |
209 | local->srx.transport.family, | 209 | local->srx.transport.family, |
210 | NIPQUAD(local->srx.transport.sin.sin_addr), | 210 | &local->srx.transport.sin.sin_addr, |
211 | ntohs(local->srx.transport.sin.sin_port)); | 211 | ntohs(local->srx.transport.sin.sin_port)); |
212 | 212 | ||
213 | _leave(" = %p [reuse]", local); | 213 | _leave(" = %p [reuse]", local); |