Erik Hugne
e57edf6b6d
tipc: prevent dropped connections due to rcvbuf overflow
...
When large buffers are sent over connected TIPC sockets, it
is likely that the sk_backlog will be filled up on the
receiver side, but the TIPC flow control mechanism is happily
unaware of this since that is based on message count.
The sender will receive a TIPC_ERR_OVERLOAD message when this occurs
and drop it's side of the connection, leaving it stale on
the receiver end.
By increasing the sk_rcvbuf to a 'worst case' value, we avoid the
overload caused by a full backlog queue and the flow control
will work properly.
This worst case value is the max TIPC message size times
the flow control window, multiplied by two because a sender
will transmit up to double the window size before a port is marked
congested.
We multiply this by 2 to account for the sk_buff and other overheads.
Signed-off-by: Erik Hugne <[email protected] >
Signed-off-by: David S. Miller <[email protected] >
2012-10-04 15:53:48 -04:00
..
9p
workqueue: deprecate flush[_delayed]_work_sync()
2012-08-20 14:51:24 -07:00
802
8021q
8021q: fix mac_len recomputation in vlan_untag()
2012-10-02 22:45:57 -04:00
appletalk
userns: Print out socket uids in a user namespace aware fashion.
2012-08-14 21:48:06 -07:00
atm
net 🏧 fix up ENOIOCTLCMD error handling
2012-08-31 16:14:33 -04:00
ax25
userns: Convert net/ax25 to use kuid_t where appropriate
2012-08-14 21:49:42 -07:00
batman-adv
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2012-09-28 14:40:49 -04:00
bluetooth
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2012-10-02 13:38:27 -07:00
bridge
netlink: add attributes to fdb interface
2012-10-01 18:39:44 -04:00
caif
caif: move the dereference below the NULL test
2012-09-10 16:13:31 -04:00
can
netlink: Rename pid to portid to avoid confusion
2012-09-10 15:30:41 -04:00
ceph
libceph: only kunmap kmapped pages
2012-09-21 20:49:26 -07:00
core
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2012-10-02 13:38:27 -07:00
dcb
netlink: Rename pid to portid to avoid confusion
2012-09-10 15:30:41 -04:00
dccp
dccp: fix info leak via getsockopt(DCCP_SOCKOPT_CCID_TX_INFO)
2012-08-15 21:36:31 -07:00
decnet
netlink: Rename pid to portid to avoid confusion
2012-09-10 15:30:41 -04:00
dns_resolver
userns: net: Call key_alloc with GLOBAL_ROOT_UID, GLOBAL_ROOT_GID instead of 0, 0
2012-09-13 18:28:04 -07:00
dsa
workqueue: deprecate flush[_delayed]_work_sync()
2012-08-20 14:51:24 -07:00
ethernet
ieee802154
net/ieee802154/6lowpan.c: Remove unecessary semicolon
2012-09-18 16:08:19 -04:00
ipv4
ipv4: add a fib_type to fib_info
2012-10-04 13:58:26 -04:00
ipv6
ipv6: don't add link local route when there is no link local address
2012-10-02 22:36:23 -04:00
ipx
userns: Print out socket uids in a user namespace aware fashion.
2012-08-14 21:48:06 -07:00
irda
silence some noisy printks in irda
2012-10-04 15:53:48 -04:00
iucv
key
net/key/af_key.c: add range checks on ->sadb_x_policy_len
2012-10-01 17:15:06 -04:00
l2tp
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2012-09-28 14:40:49 -04:00
lapb
llc
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace
2012-10-02 11:11:09 -07:00
mac80211
mac80211: don't send delBA on addBA failure
2012-09-21 16:14:14 +02:00
mac802154
netfilter
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2012-10-02 13:38:27 -07:00
netlabel
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2012-10-02 13:38:27 -07:00
netlink
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace
2012-10-02 11:11:09 -07:00
netrom
net: change return values from -EACCES to -EPERM
2012-09-21 13:58:08 -04:00
nfc
workqueue: avoid using deprecated functions
2012-10-02 16:01:31 -07:00
openvswitch
net/openvswitch/vport.c: Remove unecessary semicolon
2012-09-18 16:08:19 -04:00
packet
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace
2012-10-02 11:11:09 -07:00
phonet
netlink: Rename pid to portid to avoid confusion
2012-09-10 15:30:41 -04:00
rds
rds: Don't disable BH on BH context
2012-08-22 22:52:04 -07:00
rfkill
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2012-10-02 13:38:27 -07:00
rose
rxrpc
userns: net: Call key_alloc with GLOBAL_ROOT_UID, GLOBAL_ROOT_GID instead of 0, 0
2012-09-13 18:28:04 -07:00
sched
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2012-10-02 13:38:27 -07:00
sctp
sctp: check src addr when processing SACK to update transport state
2012-10-04 15:53:48 -04:00
sunrpc
Merge branch 'for-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq
2012-10-02 09:54:49 -07:00
tipc
tipc: prevent dropped connections due to rcvbuf overflow
2012-10-04 15:53:48 -04:00
unix
af_unix: old_cred is surplus
2012-09-17 13:00:13 -04:00
wanrouter
wimax
wireless
Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next
2012-09-30 02:30:16 -04:00
x25
xfrm
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2012-10-02 13:38:27 -07:00
compat.c
Kconfig
net: Add INET dependency on aes crypto for the sake of TCP fastopen.
2012-09-04 14:20:14 -04:00
Makefile
nonet.c
socket.c
net: remove sk_init() helper
2012-09-27 18:42:00 -04:00
sysctl_net.c