Xie He
1148d809f2
net: hdlc_raw_eth: Clear the IFF_TX_SKB_SHARING flag after calling ether_setup
...
[ Upstream commit 5fce1e43e2d5bf2f7e3224d7b99b1c65ab2c26e2 ]
This driver calls ether_setup to set up the network device.
The ether_setup function would add the IFF_TX_SKB_SHARING flag to the
device. This flag indicates that it is safe to transmit shared skbs to
the device.
However, this is not true. This driver may pad the frame (in eth_tx)
before transmission, so the skb may be modified.
Fixes: 550fd08c2c ("net: Audit drivers to identify those needing IFF_TX_SKB_SHARING cleared")
Cc: Neil Horman <nhorman@tuxdriver.com>
Cc: Krzysztof Halasa <khc@pm.waw.pl>
Signed-off-by: Xie He <xie.he.0141@gmail.com>
Link: https://lore.kernel.org/r/20201020063420.187497-1-xie.he.0141@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-10-29 09:05:31 +01:00
..
accessibility
acpi
ACPI: EC: Reference count query handlers under lock
2020-10-01 20:40:05 +02:00
amba
android
binder: Prevent context manager from incrementing ref 0
2020-08-21 11:01:55 +02:00
ata
ata: sata_mv, avoid trigerrable BUG_ON
2020-10-01 20:40:19 +02:00
atm
atm: eni: fix the missed pci_disable_device() for eni_init_one()
2020-10-01 20:40:17 +02:00
auxdisplay
base
driver core: Fix probe_count imbalance in really_probe()
2020-10-14 09:48:15 +02:00
bcma
bcma: fix incorrect update of BCMA_CORE_PCI_MDIO_DATA
2020-01-29 10:24:31 +01:00
block
rbd: require global CAP_SYS_ADMIN for mapping and unmapping
2020-09-23 08:46:12 +02:00
bluetooth
Bluetooth: btusb: fix PM leak in error case of setup
2020-01-12 11:24:16 +01:00
bus
bus: sunxi-rsb: Return correct data when mixing 16-bit and 8-bit reads
2020-04-24 07:58:46 +02:00
cdrom
cdrom: respect device capabilities during opening action
2020-01-04 13:41:02 +01:00
char
drivers: char: tlclk.c: Avoid data race between init and interrupt handler
2020-10-01 20:40:12 +02:00
clk
clk: samsung: exynos4: mark 'chipid' clock as CLK_IGNORE_UNUSED
2020-10-14 09:48:13 +02:00
clocksource
clocksource/drivers/h8300_timer8: Fix wrong return value in h8300_8timer_init()
2020-10-01 20:40:17 +02:00
connector
cpufreq
cpufreq: powernv: Fix frame-size-overflow in powernv_cpufreq_work_fn
2020-10-01 20:40:10 +02:00
cpuidle
cpuidle: Fix three reference count leaks
2020-06-20 10:24:18 +02:00
crypto
crypto: qat - check cipher length for aead AES-CBC-HMAC-SHA
2020-10-17 11:02:21 +02:00
dax
dca
devfreq
PM / devfreq: tegra30: Fix integer overflow on CPU's freq max out
2020-10-01 20:40:02 +02:00
dio
dma
dmaengine: tegra-apb: Prevent race conditions on channel's freeing
2020-10-01 20:40:08 +02:00
dma-buf
dma-buf: Fix memory leak in sync_file_merge()
2019-12-21 10:42:32 +01:00
edac
EDAC/ie31200: Fallback if host bridge device is already initialized
2020-09-03 11:21:18 +02:00
eisa
extcon
extcon: adc-jack: Fix an error handling path in 'adc_jack_probe()'
2020-06-30 15:38:28 -04:00
firewire
net: add annotations on hh->hh_len lockless accesses
2020-01-12 11:24:19 +01:00
firmware
efi: Make it possible to disable efivar_ssdt entirely
2020-07-09 09:35:57 +02:00
fmc
fpga
gpio
gpio: tc35894: fix up tc35894 interrupt configuration
2020-10-14 09:48:12 +02:00
gpu
drm/amdgpu: prevent double kfree ttm->sg
2020-10-14 09:48:16 +02:00
hid
HID: core: Sanitize event code and type when mapping input
2020-09-12 11:47:31 +02:00
hsi
hv
Drivers: hv: vmbus: Add timeout to vmbus_wait_for_unload
2020-09-23 08:46:15 +02:00
hwmon
hwmon: (applesmc) check status earlier.
2020-09-12 11:47:32 +02:00
hwspinlock
hwtracing
intel_th: Fix user-visible error codes
2020-04-02 17:20:25 +02:00
i2c
i2c: cpm: Fix i2c_ram structure
2020-10-14 09:48:13 +02:00
ide
block: Move SECTOR_SIZE and SECTOR_SHIFT definitions into <linux/blkdev.h>
2020-09-12 11:47:36 +02:00
idle
iio
iio:accel:mma8452: Fix timestamp alignment and prevent data leak.
2020-09-23 08:46:11 +02:00
infiniband
RDMA/rxe: Fix configuration of atomic queue pair attributes
2020-10-01 20:40:07 +02:00
input
Input: i8042 - add nopnp quirk for Acer Aspire 5 A515
2020-10-14 09:48:12 +02:00
iommu
iommu/exynos: add missing put_device() call in exynos_iommu_of_xlate()
2020-10-14 09:48:13 +02:00
ipack
irqchip
irqchip/gic: Atomically update affinity
2020-07-22 09:10:54 +02:00
isdn
staging: gigaset: add endpoint-type sanity check
2019-12-21 10:41:50 +01:00
leds
leds: core: Flush scheduled work for system suspend
2020-08-21 11:02:01 +02:00
lguest
lightnvm
macintosh
drivers/macintosh: Fix memleak in windfarm_pm112 driver
2020-06-20 10:24:21 +02:00
mailbox
mailbox: handle failed named mailbox channel request
2019-08-04 09:33:41 +02:00
mcb
md
bcache: fix a lost wake-up problem caused by mca_cannibalize_lock
2020-10-01 20:40:03 +02:00
media
media: usbtv: Fix refcounting mixup
2020-10-17 11:02:20 +02:00
memory
memstick
memstick: jmb38x_ms: Fix an error handling path in 'jmb38x_ms_probe()'
2019-10-29 09:15:25 +01:00
message
scsi: mptscsih: Fix read sense data size
2020-07-22 09:10:45 +02:00
mfd
mfd: mfd-core: Protect against NULL call-back function pointer
2020-10-01 20:40:02 +02:00
misc
cxl: Fix kobject memleak
2020-08-21 11:02:00 +02:00
mmc
mmc: sdhci-esdhc-imx: fix the mask for tuning start point
2020-06-20 10:24:18 +02:00
mtd
mtd: rawnand: sunxi: Fix the probe error path
2020-10-14 09:48:15 +02:00
net
net: hdlc_raw_eth: Clear the IFF_TX_SKB_SHARING flag after calling ether_setup
2020-10-29 09:05:31 +01:00
nfc
NFC: st95hf: Fix memleak in st95hf_in_send_cmd
2020-09-23 08:46:09 +02:00
ntb
ntb: intel: fix return value for ndev_vec_mask()
2019-11-28 18:28:52 +01:00
nubus
nvdimm
block: Move SECTOR_SIZE and SECTOR_SHIFT definitions into <linux/blkdev.h>
2020-09-12 11:47:36 +02:00
nvme
nvmet: Disable keep-alive timer when kato is cleared to 0h
2020-09-12 11:47:32 +02:00
nvmem
nvmem: qfprom: remove incorrect write support
2020-06-11 09:22:22 +02:00
of
of: unittest: kmemleak in of_unittest_platform_populate()
2020-04-24 07:59:10 +02:00
oprofile
parisc
parisc: mask out enable and reserved bits from sba imask
2020-08-21 11:02:06 +02:00
parport
parport: load lowlevel driver if ports not found
2020-01-04 13:39:55 +01:00
pci
PCI: Fix pci_create_slot() reference count leak
2020-09-03 11:21:17 +02:00
pcmcia
perf
drivers/perf: arm_pmu: Fix failure path in PM notifier
2019-08-06 18:29:41 +02:00
phy
phy: samsung: s5pv210-usb2: Add delay after reset
2020-10-01 20:40:12 +02:00
pinctrl
pinctrl-single: fix pcs_parse_pinconf() return value
2020-08-21 11:02:04 +02:00
platform
platform/x86: thinkpad_acpi: re-initialize ACPI buffer size when reuse
2020-10-14 09:48:15 +02:00
pnp
power
power: supply: check if calc_soc succeeded in pm860x_init_battery
2020-08-21 11:02:03 +02:00
powercap
pps
drivers/pps/pps.c: clear offset flags in PPS_SETPARAMS ioctl
2019-08-04 09:33:45 +02:00
ps3
ptp
ptp: free ptp device pin descriptors properly
2020-05-20 08:15:33 +02:00
pwm
pwm: bcm-iproc: handle clk_get_rate() return
2020-08-21 11:02:10 +02:00
rapidio
rapidio: Replace 'select' DMAENGINES 'with depends on'
2020-09-23 08:46:15 +02:00
ras
regulator
regulator: push allocation in set_consumer_device_supply() out of lock
2020-09-23 08:46:12 +02:00
remoteproc
remoteproc: Fix wrong rvring index computation
2020-05-02 17:23:14 +02:00
reset
reset: Fix potential use-after-free in __of_reset_control_get()
2019-11-25 09:53:42 +01:00
rpmsg
rtc
rtc: pm8xxx: Fix issue in RTC write path
2020-04-24 07:59:09 +02:00
s390
s390/cio: add cond_resched() in the slow_eval_known_fn() loop
2020-09-03 11:21:19 +02:00
sbus
scsi
scsi: lpfc: Fix coverity errors in fmdi attribute handling
2020-10-01 20:40:07 +02:00
sfi
sh
sn
soc
soc: qcom: smem: Use le32_to_cpu for comparison
2020-04-24 07:59:10 +02:00
spi
spi: spi-loopback-test: Fix out-of-bounds read
2020-09-23 08:46:14 +02:00
spmi
ssb
staging
staging: comedi: check validity of wMaxPacketSize of usb endpoints found
2020-10-17 11:02:20 +02:00
target
scsi: target: iscsi: Fix hang in iscsit_access_np() when getting tpg->np_login_sem
2020-09-23 08:46:12 +02:00
tc
thermal
thermal: ti-soc-thermal: Fix bogus thermal shutdowns for omap4430
2020-09-12 11:47:34 +02:00
thunderbolt
thunderbolt: Use 32-bit writes when writing ring producer/consumer
2019-11-06 12:18:14 +01:00
tty
tty: serial: samsung: Correct clock selection logic
2020-10-01 20:40:13 +02:00
uio
uio_pdrv_genirq: fix use without device tree and no interrupt
2020-07-22 09:10:53 +02:00
usb
USB: serial: ftdi_sio: add support for FreeCalypso JTAG+UART adapters
2020-10-17 11:02:20 +02:00
uwb
vfio
vfio/pci: fix racy on error and request eventfd ctx
2020-10-01 20:40:16 +02:00
vhost
vhost: vsock: kick send_pkt worker once device is started
2020-05-10 10:28:00 +02:00
video
fbcon: Fix global-out-of-bounds read in fbcon_get_font()
2020-10-14 09:48:14 +02:00
virt
virtio
virtio_ring: Avoid loop when vq is broken in virtqueue_poll
2020-08-26 10:29:05 +02:00
vlynq
vme
vme: bridges: reduce stack usage
2020-02-28 15:42:33 +01:00
w1
w1: omap-hdq: cleanup to add missing newline for some dev_dbg
2020-06-20 10:24:22 +02:00
watchdog
watchdog: f71808e_wdt: clear watchdog timeout occurred flag
2020-08-21 11:02:09 +02:00
xen
xen/xenbus: Fix granting of vmalloc'd memory
2020-09-12 11:47:32 +02:00
zorro
Kconfig
Makefile