From: David Howells <[email protected]>
Date: Thu, 03 May 2007 10:53:36 +0100
> Adjust the new netdevice scanning code provided by Patrick McHardy:
>
> (1) Restore the function banner comments that were dropped.
>
> (2) Rather than using an array size of 6 in some places and an array size of
> ETH_ALEN in others, pass a pointer instead and pass the array size
> through so that we can actually check it.
>
> (3) Do the buffer fill count check before checking the for_primary_ifa
> condition again. This permits us to skip that check should maxbufs be
> reached before we run out of interfaces.
>
> Signed-off-by: David Howells <[email protected]>
Applied, thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]