Bug 8146

Summary: A bug or a bad comment? scc_net_rx is not called from scc_rxint
Product: Drivers Reporter: Lin Tan (tammy000)
Component: NetworkAssignee: Jeff Garzik (jgarzik)
Status: CLOSED CODE_FIX    
Severity: normal    
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.20.1 Subsystem:
Regression: --- Bisected commit-id:

Description Lin Tan 2007-03-07 20:13:47 UTC
1613 /* ----> receive frame, called from scc_rxint() <---- */
1614 
1615 static void scc_net_rx(struct scc_channel *scc, struct sk_buff *skb)

But it is not called from scc_rxint().

the violating call chains are : 
1. t_txdelay -> scc_txint -> scc_tx_done -> scc_notify
2. scc_isr -> scc_isr_dispatch -> scc_txint -> scc_tx_done -> scc_notify

A bug or a wrong comment?
Comment 1 Dave Jones 2007-06-06 00:07:23 UTC
patch posted to netdev.
Comment 2 Lin Tan 2007-06-09 21:24:07 UTC
Could you add the patch or the link of the patch to the report, so that we have
a record in the Bugzilla? Thanks.
Comment 3 Lin Tan 2007-11-02 12:09:56 UTC
The bad comment is fixed according to 
http://www.spinics.net/lists/netdev/msg32976.html