]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitcd3ecb2355a9acc637d07bc12a75ef2ad4b3f04f
tree9153d74203a18cd7239340e8d4b97d31a98f2ae0
parente28d83d6f9a5cf6624f460f86078848533d4ed83
[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