linux/drivers/net
Xie He f5083d0cee drivers/net/wan/hdlc_fr: Improvements to the code of pvc_xmit
1. Keep the code for the normal (non-error) flow at the lowest
indentation level. And use "goto drop" for all error handling.

2. Replace code that pads short Ethernet frames with a "__skb_pad" call.

3. Change "dev_kfree_skb" to "kfree_skb" in error handling code.
"kfree_skb" is the correct function to call when dropping an skb due to
an error. "dev_kfree_skb", which is an alias of "consume_skb", is for
dropping skbs normally (not due to an error).

Cc: Krzysztof Halasa <khc@pm.waw.pl>
Cc: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Xie He <xie.he.0141@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-10-04 15:11:35 -07:00
..
appletalk net/appletalk: Supply missing net/Space.h include file 2020-09-18 14:53:40 -07:00
arcnet
bonding treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
caif caif_virtio: Remove redundant initialization of variable err 2020-10-01 18:46:16 -07:00
can can: flexcan: disable runtime PM if register flexcandev failed 2020-09-30 21:56:58 +02:00
dsa net: dsa: mv88e6xxx: Add per port devlink regions 2020-10-04 14:38:53 -07:00
ethernet bnxt_en: Eliminate unnecessary RX resets. 2020-10-04 14:41:05 -07:00
fddi fddi/skfp: Avoid the use of one-element array 2020-09-29 13:27:43 -07:00
fjes
hamradio
hippi
hyperv
ieee802154 genetlink: move to smaller ops wherever possible 2020-10-02 19:11:11 -07:00
ipa net: ipa: fix two comments 2020-09-28 18:34:56 -07:00
ipvlan
mdio
netdevsim netdevsim: support the static IANA VXLAN port flag 2020-09-28 12:50:12 -07:00
pcs
phy net: phy: dp83869: fix unsigned comparisons against less than zero values 2020-10-03 17:08:32 -07:00
plip treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
ppp mm, treewide: rename kzfree() to kfree_sensitive() 2020-08-07 11:33:22 -07:00
slip
team genetlink: move to smaller ops wherever possible 2020-10-02 19:11:11 -07:00
usb usbnet: Use fallthrough pseudo-keyword 2020-10-03 17:33:23 -07:00
vmxnet3
wan drivers/net/wan/hdlc_fr: Improvements to the code of pvc_xmit 2020-10-04 15:11:35 -07:00
wimax
wireguard
wireless genetlink: move to smaller ops wherever possible 2020-10-02 19:11:11 -07:00
xen-netback treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c genetlink: move to smaller ops wherever possible 2020-10-02 19:11:11 -07:00
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c genetlink: move to smaller ops wherever possible 2020-10-02 19:11:11 -07:00
macvlan.c
macvtap.c
Makefile
mdio.c
mii.c
net_failover.c
netconsole.c
nlmon.c net: nlmon: use standard dev_lstats_add() and dev_lstats_read() 2019-11-07 20:03:08 -08:00
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
tap.c
thunderbolt.c
tun.c
veth.c
virtio_net.c
vrf.c vrf: Handle CONFIG_SYSCTL not set 2020-07-23 17:51:04 -07:00
vsockmon.c
vxlan.c Revert "vxlan: move encapsulation warning" 2020-09-26 12:34:47 -07:00
xen-netfront.c