diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2007-09-26 22:10:06 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 16:52:48 -0700 |
commit | 0cc217e16cb8ca8ef2544363571fce94259900e0 (patch) | |
tree | 05d7ef10fd9971fffa3f3870a4c3e66077bb1dc2 /net/decnet/dn_dev.c | |
parent | 5967789dbc8aafdba5813fa8e8cfce3c90516f83 (diff) | |
download | linux-3.10-0cc217e16cb8ca8ef2544363571fce94259900e0.tar.gz linux-3.10-0cc217e16cb8ca8ef2544363571fce94259900e0.tar.bz2 linux-3.10-0cc217e16cb8ca8ef2544363571fce94259900e0.zip |
[IPV4]: When possible test for IFF_LOOPBACK and not dev == loopback_dev
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>
Diffstat (limited to 'net/decnet/dn_dev.c')
0 files changed, 0 insertions, 0 deletions