summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_main.c
diff options
context:
space:
mode:
authorDaniel Borkmann2013-04-16 03:29:11 +0200
committerDavid S. Miller2013-04-19 22:39:13 +0200
commit4b457bdf1dbc961b62252034b05d47ec3e5b85d2 (patch)
tree7b01a36483600674897353035c4cb99949829e5a /drivers/net/bonding/bond_main.c
parentnet: socket: move ktime2ts to ktime header api (diff)
downloadkernel-qcow2-linux-4b457bdf1dbc961b62252034b05d47ec3e5b85d2.tar.gz
kernel-qcow2-linux-4b457bdf1dbc961b62252034b05d47ec3e5b85d2.tar.xz
kernel-qcow2-linux-4b457bdf1dbc961b62252034b05d47ec3e5b85d2.zip
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 <dborkman@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
0 files changed, 0 insertions, 0 deletions