From: Daniel Borkmann Date: Tue, 16 Apr 2013 01:29:11 +0000 (+0000) Subject: packet: move hw/sw timestamp extraction into a small helper X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b457bdf1dbc961b62252034b05d47ec3e5b85d2;p=pandora-kernel.git packet: move hw/sw timestamp extraction into a small helper This patch introduces a small, internal helper function, that is used by PF_PACKET. Based on the flags that are passed, it extracts the packet timestamp in the receive path. This is merely a refactoring to remove some duplicate code in tpacket_rcv(), to make it more readable, and to enable others to use this function in PF_PACKET as well, e.g. for TX. Signed-off-by: Daniel Borkmann Signed-off-by: David S. Miller --- Reading git-diff-tree failed