[PATCH 3/4] net ipv4: When possible test for IFF_LOOPBACK and
not dev == loopback_dev
David Miller
davem at davemloft.net
Wed Sep 26 22:10:18 PDT 2007
From: ebiederm at xmission.com (Eric W. Biederman)
Date: Wed, 26 Sep 2007 17:58:21 -0600
>
> 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 at xmission.com>
Applied.
More information about the Containers
mailing list