From: David Howells Date: Thu, 3 May 2007 10:29:41 +0000 (-0700) Subject: [AFS]: Adjust the new netdevice scanning code X-Git-Tag: v2.6.22-rc1~1036^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec9c948546a84d0dcee851be1009a8066958e69d;p=pandora-kernel.git [AFS]: Adjust the new netdevice scanning code 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed