mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: [ATM] CLIP: Do not refer freed skbuff in clip_mkip(). [NET]: Drop tx lock in dev_watchdog_up [PACKET]: Don't truncate non-linear skbs with mmaped IO [NET]: Mark frame diverter for future removal. [NETFILTER]: Add secmark headers to header-y [ATM]: linux-atm-general mailing list is subscribers only [ATM]: [he] when transmit fails, unmap the dma regions [TCP] tcp-lp: update information to MAINTAINERS [TCP] tcp-lp: bug fix for oops in 2.6.18-rc6 [BRIDGE]: random extra bytes on STP TCN packet [IPV6]: Accept -1 for IPV6_TCLASS [IPV6]: Fix tclass setting for raw sockets. [IPVS]: remove the debug option go ip_vs_ftp [IPVS]: Make sure ip_vs_ftp ports are valid [IPVS]: auto-help for ip_vs_ftp [IPVS]: Document the ports option to ip_vs_ftp in kernel-parameters.txt [TCP]: Turn ABC off. [NEIGH]: neigh_table_clear() doesn't free stats
This commit is contained in:
commit
1d19f176a2
19 changed files with 97 additions and 46 deletions
|
|
@ -2282,6 +2282,8 @@ __enqueue_tpd(struct he_dev *he_dev, struct he_tpd *tpd, unsigned cid)
|
|||
TPDRQ_MASK(he_readl(he_dev, TPDRQ_B_H)));
|
||||
|
||||
if (new_tail == he_dev->tpdrq_head) {
|
||||
int slot;
|
||||
|
||||
hprintk("tpdrq full (cid 0x%x)\n", cid);
|
||||
/*
|
||||
* FIXME
|
||||
|
|
@ -2289,6 +2291,13 @@ __enqueue_tpd(struct he_dev *he_dev, struct he_tpd *tpd, unsigned cid)
|
|||
* after service_tbrq, service the backlog
|
||||
* for now, we just drop the pdu
|
||||
*/
|
||||
for (slot = 0; slot < TPD_MAXIOV; ++slot) {
|
||||
if (tpd->iovec[slot].addr)
|
||||
pci_unmap_single(he_dev->pci_dev,
|
||||
tpd->iovec[slot].addr,
|
||||
tpd->iovec[slot].len & TPD_LEN_MASK,
|
||||
PCI_DMA_TODEVICE);
|
||||
}
|
||||
if (tpd->skb) {
|
||||
if (tpd->vcc->pop)
|
||||
tpd->vcc->pop(tpd->vcc, tpd->skb);
|
||||
|
|
|
|||
Loading…
Reference in a new issue