[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-can
Subject:    [PATCH 09/11] sllin: Don't fiddle with netdev queue and skb in slave receive mode
From:       Alexander Stein <alexander.stein () systec-electronic ! com>
Date:       2013-12-16 7:54:12
Message-ID: 1387180454-1738-10-git-send-email-alexander.stein () systec-electronic ! com
[Download RAW message or body]

The queue and stored skb is only used for master mode.

Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
---
 sllin/sllin.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sllin/sllin.c b/sllin/sllin.c
index ffbdf01..c922b84 100644
--- a/sllin/sllin.c
+++ b/sllin/sllin.c
@@ -1241,8 +1241,6 @@ slstate_response_wait:
 					sllin_send_tx_buff(sl);
 				}
 
-				kfree_skb(sl->tx_req_skb);
-				netif_wake_queue(sl->dev);
 				hrtimer_start(&sl->rx_timer,
 					ktime_add(ktime_get(), sl->rx_timer_timeout),
 					HRTIMER_MODE_ABS);
-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe linux-can" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic