lib/vsprintf.c: Avoid possible unaligned accesses in %pI6c
authorJoe Perches <joe@perches.com>
Fri, 18 Sep 2009 13:04:06 +0000 (13:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Sep 2009 21:00:05 +0000 (14:00 -0700)
Jens Rosenboom noticed that a possibly unaligned const char*
is cast to a const struct in6_addr *.

Avoid this at the cost of a struct in6_addr copy on the stack.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found