This repository has been archived by the owner on May 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is the 4.4.192 stable release * tag 'v4.4.192': Linux 4.4.192 net: stmmac: dwmac-rk: Don't fail if phy regulator is absent net: fix skb use after free in netpoll Revert "x86/apic: Include the LDR when clearing out APIC registers" spi: bcm2835aux: fix corruptions for longer spi transfers spi: bcm2835aux: remove dangerous uncontrolled read of fifo spi: bcm2835aux: unifying code between polling and interrupt driven code spi: bcm2835aux: ensure interrupts are enabled for shared handler libceph: allow ceph_buffer_put() to receive a NULL ceph_buffer KVM: arm/arm64: Only skip MMIO insn once ceph: fix buffer free while holding i_ceph_lock in __ceph_setxattr() IB/mlx4: Fix memory leaks Tools: hv: kvp: eliminate 'may be used uninitialized' warning ravb: Fix use-after-free ravb_tstamp_skb wimax/i2400m: fix a memory leak bug net: kalmia: fix memory leaks cx82310_eth: fix a memory leak bug net: myri10ge: fix memory leaks cxgb4: fix a memory leak bug gpio: Fix build error of function redefinition ibmveth: Convert multicast list size for little-endian system Bluetooth: btqca: Add a short delay before downloading the NVM net: tc35815: Explicitly check NET_IP_ALIGN is not zero in tc35815_rx net: tundra: tsi108: use spin_lock_irqsave instead of spin_lock_irq in IRQ context
- Loading branch information
Showing
21 changed files
with
74 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
VERSION = 4 | ||
PATCHLEVEL = 4 | ||
SUBLEVEL = 191 | ||
SUBLEVEL = 192 | ||
EXTRAVERSION = | ||
NAME = Blurry Fish Butt | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* Renesas Ethernet AVB device driver | ||
* | ||
* Copyright (C) 2014-2015 Renesas Electronics Corporation | ||
* Copyright (C) 2014-2019 Renesas Electronics Corporation | ||
* Copyright (C) 2015 Renesas Solutions Corp. | ||
* Copyright (C) 2015 Cogent Embedded, Inc. <[email protected]> | ||
* | ||
|
@@ -501,7 +501,10 @@ static void ravb_get_tx_tstamp(struct net_device *ndev) | |
kfree(ts_skb); | ||
if (tag == tfa_tag) { | ||
skb_tstamp_tx(skb, &shhwtstamps); | ||
dev_consume_skb_any(skb); | ||
break; | ||
} else { | ||
dev_kfree_skb_any(skb); | ||
} | ||
} | ||
ravb_write(ndev, ravb_read(ndev, TCCR) | TCCR_TFR, TCCR); | ||
|
@@ -1382,7 +1385,7 @@ static netdev_tx_t ravb_start_xmit(struct sk_buff *skb, struct net_device *ndev) | |
DMA_TO_DEVICE); | ||
goto unmap; | ||
} | ||
ts_skb->skb = skb; | ||
ts_skb->skb = skb_get(skb); | ||
ts_skb->tag = priv->ts_skb_tag++; | ||
priv->ts_skb_tag &= 0x3ff; | ||
list_add_tail(&ts_skb->list, &priv->ts_skb_list); | ||
|
@@ -1514,6 +1517,7 @@ static int ravb_close(struct net_device *ndev) | |
/* Clear the timestamp list */ | ||
list_for_each_entry_safe(ts_skb, ts_skb2, &priv->ts_skb_list, list) { | ||
list_del(&ts_skb->list); | ||
kfree_skb(ts_skb->skb); | ||
kfree(ts_skb); | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.