[IPV4]: When possible test for IFF_LOOPBACK and not dev == loopback_dev
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 27 Sep 2007 05:10:06 +0000 (22:10 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:52:48 +0000 (16:52 -0700)
Now that multiple loopback devices are becoming possible it makes
the code a little cleaner and more maintainable to test if a deivice
is th a loopback device by testing dev->flags & IFF_LOOPBACK instead
of dev == loopback_dev.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found