David Howells ec9c948546 [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 <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-05-03 03:29:41 -07:00
..
2007-04-26 15:59:35 -07:00
2007-04-26 15:59:35 -07:00
2007-04-26 15:49:28 -07:00
2007-04-26 15:57:07 -07:00
2007-04-26 15:59:35 -07:00
2007-04-26 15:59:35 -07:00
2007-04-26 15:57:07 -07:00
2007-04-27 15:28:45 -07:00
2007-04-26 15:59:35 -07:00
2007-05-03 03:11:29 -07:00
2007-04-26 15:57:07 -07:00
2007-04-26 15:59:35 -07:00
2007-04-26 15:59:35 -07:00