linux-stable/net
Eric Dumazet 36ee106e84 tcp: add tcp_ooo_try_coalesce() helper
commit 58152ecbbc upstream.

In case skb in out_or_order_queue is the result of
multiple skbs coalescing, we would like to get a proper gso_segs
counter tracking, so that future tcp_drop() can report an accurate
number.

I chose to not implement this tracking for skbs in receive queue,
since they are not dropped, unless socket is disconnected.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Acked-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-08-09 12:18:00 +02:00
..
6lowpan
9p 9p/trans_virtio: discard zero-length reply 2018-02-22 15:43:50 +01:00
802
8021q vlan: also check phy_driver ts_info for vlan's real device 2018-04-13 19:48:34 +02:00
appletalk
atm net: atm: Fix potential Spectre v1 2018-05-16 10:08:44 +02:00
ax25 ax25: Fix segfault after sock connection timeout 2017-02-04 09:47:09 +01:00
batman-adv batman-adv: fix packet loss for broadcasted DHCP packets to a server 2018-05-30 07:50:38 +02:00
bluetooth Bluetooth: Fix connection if directed advertising and privacy is used 2018-04-20 08:21:07 +02:00
bridge netfilter: ebtables: reject non-bridge targets 2018-07-22 14:27:39 +02:00
caif net: caif: Fix a sleep-in-atomic bug in cfpkt_create_pfx 2017-07-05 14:40:14 +02:00
can can: af_can: canfd_rcv(): replace WARN_ONCE by pr_warn_once 2018-01-31 12:55:50 +01:00
ceph libceph: validate con->state at the top of try_write() 2018-05-01 15:13:09 -07:00
core rtnetlink: add rtnl_link_state check in rtnl_configure_link 2018-07-28 07:49:12 +02:00
dcb net: dcb: set error code on failures 2016-12-03 23:54:25 -05:00
dccp net: dccp: switch rx_tstamp_last_feedback to monotonic clock 2018-07-22 14:27:36 +02:00
decnet dn_getsockoptdecnet: move nf_{get/set}sockopt outside sock lock 2018-02-25 11:05:44 +01:00
dns_resolver KEYS: DNS: fix parsing multiple options 2018-07-22 14:27:39 +02:00
dsa net: dsa: Do not suspend/resume closed slave_dev 2018-08-06 16:23:03 +02:00
ethernet net: introduce device min_header_len 2017-02-18 15:11:43 +01:00
hsr hsr: fix incorrect warning 2018-04-13 19:48:29 +02:00
ieee802154 net: ieee802154: fix net_device reference release too early 2018-04-13 19:48:04 +02:00
ipv4 tcp: add tcp_ooo_try_coalesce() helper 2018-08-09 12:18:00 +02:00
ipv6 multicast: do not restore deleted record source filter mode to new one 2018-07-28 07:49:11 +02:00
ipx ipx: call ipxitf_put() in ioctl error path 2017-05-25 15:44:41 +02:00
irda irda: do not leak initialized list.dev to userspace 2017-08-30 10:21:42 +02:00
iucv net/iucv: Free memory obtained by kzalloc 2018-03-31 18:11:34 +02:00
kcm kcm: Fix use-after-free caused by clonned sockets 2018-06-13 16:16:42 +02:00
key af_key: Always verify length of provided sadb_key 2018-06-16 09:52:32 +02:00
l2tp l2tp: revert "l2tp: fix missing print session offset info" 2018-05-19 10:27:00 +02:00
l3mdev
lapb
llc llc: properly handle dev_queue_xmit() return value 2018-05-30 07:50:39 +02:00
mac80211 mac80211: drop frames with unexpected DS bits from fast-rx to slow path 2018-05-30 07:50:30 +02:00
mac802154
mpls mpls, nospec: Sanitize array index in mpls_label_ok() 2018-03-11 16:21:34 +01:00
ncsi net/ncsi: Improve HNCDSC AEN handler 2016-10-20 11:23:08 -04:00
netfilter netfilter: nf_tables: check msg_type before nft_trans_set(trans) 2018-08-03 07:55:14 +02:00
netlabel netlabel: If PF_INET6, check sk_buff ip header version 2018-05-30 07:50:51 +02:00
netlink netlink: Don't shift on 64 for ngroups 2018-08-09 12:17:59 +02:00
netrom
nfc net/nfc: Avoid stalls when nfc_alloc_send_skb() returned NULL. 2018-07-22 14:27:40 +02:00
openvswitch openvswitch: Remove padding from packet before L3+ conntrack processing 2018-05-30 07:50:23 +02:00
packet net/packet: fix use-after-free 2018-07-22 14:27:38 +02:00
phonet
qrtr qrtr: add MODULE_ALIAS macro to smd 2018-05-30 07:50:32 +02:00
rds rds: avoid unenecessary cong_update in loop transport 2018-07-22 14:27:39 +02:00
rfkill rfkill: gpio: fix memory leak in probe error path 2018-05-16 10:08:43 +02:00
rose
rxrpc rxrpc: Don't treat call aborts as conn aborts 2018-05-30 07:50:42 +02:00
sched net_sched: blackhole: tell upper qdisc about dropped packets 2018-07-22 14:27:36 +02:00
sctp sctp: not allow transport timeout value less than HZ/5 for hb_timer 2018-06-13 16:16:43 +02:00
strparser strparser: Fix incorrect strp->need_bytes value. 2018-04-29 11:32:02 +02:00
sunrpc xprtrdma: Return -ENOBUFS when no pages are available 2018-07-25 11:24:02 +02:00
switchdev switchdev: Execute bridge ndos only for bridge ports 2016-10-19 10:58:04 -04:00
tipc tipc: add policy for TIPC_NLA_NET_ADDR 2018-04-29 11:32:01 +02:00
unix net/unix: don't show information about sockets from other namespaces 2017-11-18 11:22:22 +01:00
vmw_vsock vsock: cancel packets when failing to connect 2017-12-25 14:23:38 +01:00
wimax
wireless cfg80211: limit wiphy names to 128 bytes 2018-05-25 16:12:59 +02:00
x25 net: x25: fix one potential use-after-free issue 2018-04-13 19:48:00 +02:00
xfrm xfrm: fix xfrm_do_migrate() with AEAD e.g(AES-GCM) 2018-05-19 10:27:00 +02:00
compat.c net: support compat 64-bit time in {s,g}etsockopt 2018-05-19 10:26:58 +02:00
Kconfig
Makefile
socket.c net: socket: fix potential spectre v1 gadget in socketcall 2018-08-06 16:23:04 +02:00
sysctl_net.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2016-10-06 09:52:23 -07:00