netdev-linux: Fix strict aliasing warnings.
authorEthan Jackson <ethan@nicira.com>
Fri, 14 Jan 2011 20:41:39 +0000 (12:41 -0800)
committerEthan Jackson <ethan@nicira.com>
Fri, 14 Jan 2011 20:41:39 +0000 (12:41 -0800)
commit782e6111668f5f4bccec2dc9328dc3a83f548fce
tree921663640f05dd77602159a359393bb1711ba142
parentf0e167f0dbadbe2a8d684f63ad9faf68d8cb9884
netdev-linux: Fix strict aliasing warnings.

This commit fixes warnings caused by the miimon code's breakage of
strict aliasing rules.

Reported-by: Jesse Gross <jesse@nicira.com>
Implemented-by: Ben Pfaff <blp@nicira.com>
lib/netdev-linux.c