[PATCH v1 5/6] j1939: transport: remove SKBTX_ANY_TSTAMP from simple skb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We put our own statistic to the error queue

Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>
---
 net/can/j1939/transport.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/can/j1939/transport.c b/net/can/j1939/transport.c
index 2d1511a64c55..9872082254c4 100644
--- a/net/can/j1939/transport.c
+++ b/net/can/j1939/transport.c
@@ -1046,6 +1046,7 @@ static enum hrtimer_restart j1939_tp_txtimer(struct hrtimer *hrtimer)
 			skb = skb_clone(se_skb, GFP_ATOMIC);
 			if (skb) {
 				can_skb_set_owner(skb, se_skb->sk);
+				skb_shinfo(skb)->tx_flags &= ~SKBTX_ANY_TSTAMP;
 
 				j1939_tp_set_rxtimeout(session,
 						       J1939_XTP_ABORT_TIMEOUT_MS);
-- 
2.20.1




[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux