Daniel Borkmann
144fe2bfd2
sock: fix sg page frag coalescing in sk_alloc_sg
...
Current sg coalescing logic in sk_alloc_sg() (latter is used by tls and
sockmap) is not quite correct in that we do fetch the previous sg entry,
however the subsequent check whether the refilled page frag from the
socket is still the same as from the last entry with prior offset and
length matching the start of the current buffer is comparing always the
first sg list entry instead of the prior one.
Fixes: 3c4d755915 ("tls: kernel TLS support")
Signed-off-by: Daniel Borkmann <[email protected] >
Acked-by: Dave Watson <[email protected] >
Signed-off-by: David S. Miller <[email protected] >
2018-07-23 21:28:45 -07:00
..
6lowpan
9p
net/9p/client.c: put refcount of trans_mod in error case in parse_opts()
2018-07-14 11:11:09 -07:00
802
8021q
net: fix use-after-free in GRO with ESP
2018-07-02 20:34:04 +09:00
appletalk
Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL
2018-06-28 10:40:47 -07:00
atm
Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL
2018-06-28 10:40:47 -07:00
ax25
Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL
2018-06-28 10:40:47 -07:00
batman-adv
batman-adv: Fix multicast TT issues with bogus ROAM flags
2018-06-23 10:29:33 +02:00
bluetooth
Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL
2018-06-28 10:40:47 -07:00
bpf
bpf: fix panic due to oob in bpf_prog_test_run_skb
2018-07-11 16:10:57 -07:00
bpfilter
bpfilter: include bpfilter_umh in assembly instead of using objcopy
2018-06-28 21:39:16 +09:00
bridge
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2018-06-16 07:39:34 +09:00
caif
net: caif: Add a missing rcu_read_unlock() in caif_flow_cb
2018-07-21 16:14:39 -07:00
can
Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL
2018-06-28 10:40:47 -07:00
ceph
The main piece is a set of libceph changes that revamps how OSD
2018-06-15 07:24:58 +09:00
core
sock: fix sg page frag coalescing in sk_alloc_sg
2018-07-23 21:28:45 -07:00
dcb
treewide: kmalloc() -> kmalloc_array()
2018-06-12 16:19:22 -07:00
dccp
Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL
2018-06-28 10:40:47 -07:00
decnet
Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL
2018-06-28 10:40:47 -07:00
dns_resolver
KEYS: DNS: fix parsing multiple options
2018-07-16 11:22:14 -07:00
dsa
net: dsa: add error handling for pskb_trim_rcsum
2018-06-11 14:19:38 -07:00
ethernet
net: core: rework basic flow dissection helper
2018-05-08 00:02:36 -04:00
hsr
ieee802154
ieee802154: 6lowpan: set IFLA_LINK
2018-07-05 11:13:17 +02:00
ife
ipv4
tcp: add tcp_ooo_try_coalesce() helper
2018-07-23 12:01:36 -07:00
ipv6
ip: hash fragments consistently
2018-07-23 11:39:30 -07:00
iucv
Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL
2018-06-28 10:40:47 -07:00
kcm
Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL
2018-06-28 10:40:47 -07:00
key
Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL
2018-06-28 10:40:47 -07:00
l2tp
Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL
2018-06-28 10:40:47 -07:00
l3mdev
lapb
llc
Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL
2018-06-28 10:40:47 -07:00
mac80211
mac80211: disable BHs/preemption in ieee80211_tx_control_port()
2018-06-29 09:39:08 +02:00
mac802154
mpls
ncsi
net/ncsi: Use netdev_dbg for debug messages
2018-06-20 07:26:58 +09:00
netfilter
netfilter: nf_conntrack: Fix possible possible crash on module loading.
2018-07-09 18:04:11 +02:00
netlabel
audit: use inline function to get audit context
2018-05-14 17:24:18 -04:00
netlink
Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL
2018-06-28 10:40:47 -07:00
netrom
Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL
2018-06-28 10:40:47 -07:00
nfc
net/nfc: Avoid stalls when nfc_alloc_send_skb() returned NULL.
2018-07-18 10:51:45 -07:00
nsh
nsh: set mac len based on inner packet
2018-07-12 16:55:29 -07:00
openvswitch
treewide: kzalloc() -> kcalloc()
2018-06-12 16:19:22 -07:00
packet
packet: reset network header if packet shorter than ll reserved space
2018-07-12 16:55:59 -07:00
phonet
Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL
2018-06-28 10:40:47 -07:00
psample
qrtr
net: qrtr: Reset the node and port ID of broadcast messages
2018-07-05 20:20:03 +09:00
rds
rds: clean up loopback rds_connections on netns deletion
2018-06-27 10:11:03 +09:00
rfkill
rfkill: Create rfkill-none LED trigger
2018-05-23 11:26:45 +02:00
rose
Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL
2018-06-28 10:40:47 -07:00
rxrpc
Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL
2018-06-28 10:40:47 -07:00
sched
net: sched: Using NULL instead of plain integer
2018-07-18 13:44:07 -07:00
sctp
sctp: fix the issue that pathmtu may be set lower than MINSEGMENT
2018-07-04 21:36:34 +09:00
smc
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2018-07-18 19:32:54 -07:00
strparser
strparser: Remove early eaten to fix full tcp receive buffer stall
2018-06-28 21:37:26 +09:00
sunrpc
NFS client bugfixes for Linux 4.18
2018-06-22 06:21:34 +09:00
switchdev
tipc
tipc: make function tipc_net_finalize() thread safe
2018-07-07 19:49:02 +09:00
tls
tls: check RCV_SHUTDOWN in tls_wait_data
2018-07-20 14:38:14 -07:00
unix
Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL
2018-06-28 10:40:47 -07:00
vmw_vsock
Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL
2018-06-28 10:40:47 -07:00
wimax
wireless
nl80211: check nla_parse_nested() return values
2018-06-29 09:44:51 +02:00
x25
Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL
2018-06-28 10:40:47 -07:00
xdp
xsk: do not return EMSGSIZE in copy mode for packets larger than MTU
2018-07-13 15:34:31 +02:00
xfrm
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2018-06-06 18:39:49 -07:00
compat.c
Kconfig
net: Introduce generic failover module
2018-05-28 22:59:54 -04:00
Makefile
bpfilter: check compiler capability in Kconfig
2018-06-28 13:36:39 +09:00
socket.c
net: handle NULL ->poll gracefully
2018-06-29 06:51:51 -07:00
sysctl_net.c