diff options
| author | Willem de Bruijn <willemb@google.com> | 2014-07-25 18:01:31 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2014-07-29 14:39:50 -0400 |
| commit | 68a360e82e55c9b35097e7be7f7991d8f401032f (patch) | |
| tree | 62ae3d497c487600f8c93bbd541ad763af096e28 /include/uapi/linux | |
| parent | ce7505882122d9fd72159e902b1ca9cc9d896679 (diff) | |
packet: remove deprecated syststamp timestamp
No device driver will ever return an skb_shared_info structure with
syststamp non-zero, so remove the branch that tests for this and
optionally marks the packet timestamp as TP_STATUS_TS_SYS_HARDWARE.
Do not remove the definition TP_STATUS_TS_SYS_HARDWARE, as processes
may refer to it.
Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/if_packet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/if_packet.h b/include/uapi/linux/if_packet.h index bac27fa05f5b..da2d668b8cf1 100644 --- a/include/uapi/linux/if_packet.h +++ b/include/uapi/linux/if_packet.h | |||
| @@ -108,7 +108,7 @@ struct tpacket_auxdata { | |||
| 108 | 108 | ||
| 109 | /* Rx and Tx ring - header status */ | 109 | /* Rx and Tx ring - header status */ |
| 110 | #define TP_STATUS_TS_SOFTWARE (1 << 29) | 110 | #define TP_STATUS_TS_SOFTWARE (1 << 29) |
| 111 | #define TP_STATUS_TS_SYS_HARDWARE (1 << 30) | 111 | #define TP_STATUS_TS_SYS_HARDWARE (1 << 30) /* deprecated, never set */ |
| 112 | #define TP_STATUS_TS_RAW_HARDWARE (1 << 31) | 112 | #define TP_STATUS_TS_RAW_HARDWARE (1 << 31) |
| 113 | 113 | ||
| 114 | /* Rx ring - feature request bits */ | 114 | /* Rx ring - feature request bits */ |
