From: Daniel Borkmann Date: Tue, 16 Apr 2013 01:57:46 +0000 (+0000) Subject: packet: minor: add generic tpacket_uhdr to access packet headers X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~109 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=184f489e9b8c40b4dd4883d3f1364f7786c8755c;p=pandora-kernel.git packet: minor: add generic tpacket_uhdr to access packet headers There is no need to add a dozen unions each time at the start of the function. So, do this once and use it instead. Thus, we can remove some duplicate code and make it more readable. Signed-off-by: Daniel Borkmann Signed-off-by: David S. Miller --- Reading git-diff-tree failed