[NET]: dont use strlen() but the result from a prior sprintf()
authorEric Dumazet <dada1@cosmosbay.com>
Wed, 22 Jun 2005 21:32:51 +0000 (14:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jun 2005 21:32:51 +0000 (14:32 -0700)
commitf31f5f051269746179b01017fc5e3dcf6b37c67e
tree9153d74203a18cd7239340e8d4b97d31a98f2ae0
parent6a17944ca12229036a6d8d48be1b5eb51204fcf8
[NET]: dont use strlen() but the result from a prior sprintf()

Small patch to save an unecessary call to strlen() : sprintf() gave us
the length, just trust it.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/socket.c