Re: [PATCH] Replacing with (compare|is_zero)_ether_addr() and ETH_ALEN in pktgen.c

2006-01-17 Thread David S. Miller
From: "Kris Katterjohn" <[EMAIL PROTECTED]> Date: Sun, 15 Jan 2006 19:50:47 -0800 > This replaces some tests with is_zero_ether_addr(), memcmp(one, two, 6) with > compare_ether_addr(one, two), and 6 with ETH_ALEN where appropriate. > > Signed-off-by: Kris Katterjohn <[EMAIL PROTECTED]> Applied,

[PATCH] Replacing with (compare|is_zero)_ether_addr() and ETH_ALEN in pktgen.c

2006-01-15 Thread Kris Katterjohn
This replaces some tests with is_zero_ether_addr(), memcmp(one, two, 6) with compare_ether_addr(one, two), and 6 with ETH_ALEN where appropriate. Signed-off-by: Kris Katterjohn <[EMAIL PROTECTED]> Thanks! --- x/net/core/pktgen.c 2006-01-15 21:29:21.0 -0600 +++ y/net/core/pktgen.c 2006-01