kernel_optimize_test/drivers/net/wan
Xie He c79f428d6f drivers/net/wan/x25_asy: Added needed_headroom and a skb->len check
1. Added a skb->len check

This driver expects upper layers to include a pseudo header of 1 byte
when passing down a skb for transmission. This driver will read this
1-byte header. This patch added a skb->len check before reading the
header to make sure the header exists.

2. Added needed_headroom

When this driver transmits data,
  first this driver will remove a pseudo header of 1 byte,
  then the lapb module will prepend the LAPB header of 2 or 3 bytes.
So the value of needed_headroom in this driver should be 3 - 1.

Cc: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
Cc: Martin Schiller <ms@dev.tdt.de>
Signed-off-by: Xie He <xie.he.0141@gmail.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-08-11 10:32:05 -07:00
..
lmc drivers: net: wan: Fix trivial spelling 2020-07-15 18:18:21 -07:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
c101.c WAN: Replace HTTP links with HTTPS ones 2020-07-13 16:58:01 -07:00
cosa.c net: wan: cosa: Replace HTTP links with HTTPS ones 2020-07-13 17:45:22 -07:00
cosa.h
dlci.c
farsync.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-08-05 20:13:21 -07:00
farsync.h WAN: Replace zero-length array with flexible-array member 2020-02-27 12:06:55 -08:00
fsl_ucc_hdlc.c ARM: SoC-related driver updates 2020-02-08 14:04:19 -08:00
fsl_ucc_hdlc.h net/wan/fsl_ucc_hdlc: avoid use of IS_ERR_VALUE() 2019-12-09 13:57:45 -06:00
hd64570.c
hd64570.h
hd64572.c
hd64572.h
hdlc_cisco.c drivers: net: cisco_hdlc: use __func__ in debug message 2020-01-07 13:33:35 -08:00
hdlc_fr.c
hdlc_ppp.c
hdlc_raw_eth.c
hdlc_raw.c
hdlc_x25.c drivers/net/wan: lapb: Corrected the usage of skb_cow 2020-07-24 20:17:42 -07:00
hdlc.c
hostess_sv11.c
ixp4xx_hss.c wan: ixp4xx_hss: prepare compile testing 2020-01-12 12:59:52 -08:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
lapbether.c drivers/net/wan/lapbether: Added needed_headroom and a skb->len check 2020-08-06 17:02:41 -07:00
Makefile net: wan: wanxl: refactor the firmware rebuild rule 2020-03-29 22:37:53 +09:00
n2.c WAN: Replace HTTP links with HTTPS ones 2020-07-13 16:58:01 -07:00
pc300too.c WAN: Replace HTTP links with HTTPS ones 2020-07-13 16:58:01 -07:00
pci200syn.c WAN: Replace HTTP links with HTTPS ones 2020-07-13 16:58:01 -07:00
sbni.c
sbni.h
sdla.c net: wan: sdla: Fix cast from pointer to integer of different size 2020-01-06 13:30:03 -08:00
sealevel.c
slic_ds26522.c
slic_ds26522.h
wanxl.c wan: wanxl: switch from 'pci_' to 'dma_' API 2020-08-04 16:17:00 -07:00
wanxl.h
wanxlfw.inc_shipped
wanxlfw.S
x25_asy.c drivers/net/wan/x25_asy: Added needed_headroom and a skb->len check 2020-08-11 10:32:05 -07:00
x25_asy.h
z85230.c treewide: Remove uninitialized_var() usage 2020-07-16 12:35:15 -07:00
z85230.h