From: Pavel Emelyanov Date: Mon, 3 Mar 2008 20:20:57 +0000 (-0800) Subject: [ARP]: Introduce the arp_hdr_len helper. X-Git-Tag: v2.6.26-rc1~1138^2~524 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=988b705077d8f922408913f4f521ae073256d4a1;p=pandora-kernel.git [ARP]: Introduce the arp_hdr_len helper. There are some place, that calculate the ARP header length. These calculations are correct, but a) some operate with "magic" constants, b) enlarge the code length (sometimes at the cost of coding style), c) are not informative from the first glance. The proposal is to introduce a helper, that includes all the good sides of these calculations. Signed-off-by: Pavel Emelyanov Signed-off-by: David S. Miller --- Reading git-diff-tree failed