Sowmini Varadhan
0933a578cd
rds: tcp: use sock_create_lite() to create the accept socket
...
There are two problems with calling sock_create_kern() from
rds_tcp_accept_one()
1. it sets up a new_sock->sk that is wasteful, because this ->sk
is going to get replaced by inet_accept() in the subsequent ->accept()
2. The new_sock->sk is a leaked reference in sock_graft() which
expects to find a null parent->sk
Avoid these problems by calling sock_create_lite().
Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-07-08 11:16:16 +01:00
..
2017-01-06 22:14:26 -05:00
2017-01-02 14:02:39 -08:00
2016-06-14 23:50:41 -07:00
2017-06-22 11:34:04 -04:00
2017-03-15 11:59:10 -07:00
2017-03-13 23:20:05 -07:00
2017-01-02 14:02:47 -08:00
2017-03-13 23:20:05 -07:00
2017-07-04 22:35:17 +01:00
2017-01-02 14:02:59 -08:00
2009-04-09 17:21:14 -07:00
2017-02-17 15:19:51 -05:00
2017-01-02 14:02:51 -08:00
2013-06-13 02:36:09 -07:00
2017-07-04 22:35:17 +01:00
2017-07-04 22:35:17 +01:00
2015-08-03 15:20:16 -07:00
2009-02-26 23:39:25 -08:00
2016-03-02 14:13:17 -05:00
2016-07-01 16:45:17 -04:00
2009-02-26 23:39:26 -08:00
2016-10-29 15:55:57 -04:00
2017-07-04 22:35:18 +01:00
2016-12-26 21:35:39 -05:00
2017-01-02 14:02:45 -08:00
2016-03-02 14:13:17 -05:00
2017-07-04 22:35:17 +01:00
2016-06-14 23:50:41 -07:00
2017-07-04 22:35:18 +01:00
2017-07-04 22:35:17 +01:00
2017-06-22 11:34:04 -04:00
2013-03-08 00:35:44 -05:00
2016-06-18 21:34:09 -07:00
2017-06-22 11:34:04 -04:00
2017-07-08 11:16:16 +01:00
2017-01-02 14:02:59 -08:00
2017-07-01 07:39:08 -07:00
2011-07-01 16:16:19 -07:00
Merge branches 'uaccess.alpha', 'uaccess.arc', 'uaccess.arm', 'uaccess.arm64', 'uaccess.avr32', 'uaccess.bfin', 'uaccess.c6x', 'uaccess.cris', 'uaccess.frv', 'uaccess.h8300', 'uaccess.hexagon', 'uaccess.ia64', 'uaccess.m32r', 'uaccess.m68k', 'uaccess.metag', 'uaccess.microblaze', 'uaccess.mips', 'uaccess.mn10300', 'uaccess.nios2', 'uaccess.openrisc', 'uaccess.parisc', 'uaccess.powerpc', 'uaccess.s390', 'uaccess.score', 'uaccess.sh', 'uaccess.sparc', 'uaccess.tile', 'uaccess.um', 'uaccess.unicore32', 'uaccess.x86' and 'uaccess.xtensa' into work.uaccess
2017-04-26 12:06:59 -04:00
2017-06-22 11:34:04 -04:00
2017-06-16 12:45:15 -04:00
2017-03-03 09:51:22 -08:00