Changli Gao
7ba4291007
inet, inet6: make tcp_sendmsg() and tcp_sendpage() through inet_sendmsg() and inet_sendpage()
...
a new boolean flag no_autobind is added to structure proto to avoid the autobind
calls when the protocol is TCP. Then sock_rps_record_flow() is called int the
TCP's sendmsg() and sendpage() pathes.
Signed-off-by: Changli Gao <xiaosuo@gmail.com >
----
include/net/inet_common.h | 4 ++++
include/net/sock.h | 1 +
include/net/tcp.h | 8 ++++----
net/ipv4/af_inet.c | 15 +++++++++------
net/ipv4/tcp.c | 11 +++++------
net/ipv4/tcp_ipv4.c | 3 +++
net/ipv6/af_inet6.c | 8 ++++----
net/ipv6/tcp_ipv6.c | 3 +++
8 files changed, 33 insertions(+), 20 deletions(-)
Signed-off-by: David S. Miller <davem@davemloft.net >
2010-07-12 20:21:46 -07:00
..
2010-07-12 12:57:54 -07:00
2010-07-12 20:21:46 -07:00
2010-03-30 22:02:32 +09:00
2010-07-12 12:57:54 -07:00
2010-05-17 23:23:14 -07:00
2010-07-12 12:57:54 -07:00
2010-05-31 00:27:44 -07:00
2010-02-22 16:20:22 -08:00
2010-07-12 12:57:54 -07:00
2010-03-30 22:02:32 +09:00
2009-05-18 15:16:37 -07:00
2010-04-26 16:13:54 +02:00
2010-03-30 22:02:32 +09:00
2010-05-17 23:23:14 -07:00
2010-07-12 12:57:54 -07:00
2010-07-12 12:57:54 -07:00
2010-07-12 12:57:54 -07:00
2010-03-30 22:02:32 +09:00
2010-07-12 12:57:54 -07:00
2010-07-12 12:57:54 -07:00
2009-11-23 10:41:23 -08:00
2010-03-30 22:02:32 +09:00
2010-06-16 11:55:39 -07:00
2010-06-10 23:31:35 -07:00
2010-07-12 12:57:54 -07:00
2010-07-08 21:35:58 -07:00
2010-06-28 23:24:29 -07:00
2010-05-17 23:23:14 -07:00
2010-07-12 12:57:54 -07:00
2010-06-23 13:16:38 -07:00
2010-02-22 16:20:22 -08:00
2010-06-02 07:05:03 -07:00
2010-06-10 23:31:35 -07:00
2010-06-11 13:32:31 -07:00
2010-06-04 15:56:01 -07:00
2008-10-07 08:38:24 +11:00
2010-06-15 17:31:06 +02:00
2010-06-30 13:31:19 -07:00
2010-07-12 12:57:54 -07:00
2010-06-10 23:31:35 -07:00
2010-07-12 12:57:54 -07:00
2010-06-26 22:00:03 -07:00
2010-05-15 23:28:40 -07:00
2009-03-02 03:00:15 -08:00
2010-03-30 22:02:32 +09:00
2009-03-02 03:00:15 -08:00
2009-12-03 16:06:13 -08:00
2008-01-28 14:55:41 -08:00
2009-11-23 10:41:23 -08:00
2010-06-02 07:15:48 -07:00
2008-01-28 14:55:41 -08:00
2010-07-12 12:57:54 -07:00
2010-07-12 20:21:46 -07:00
2009-11-23 10:41:23 -08:00
2010-07-12 12:57:54 -07:00
2010-07-12 12:57:54 -07:00
2010-03-30 22:02:32 +09:00
2009-03-02 03:00:15 -08:00
2010-07-12 12:57:54 -07:00
2009-05-25 22:44:59 -07:00
2007-07-31 02:27:57 -07:00
2009-11-23 10:41:23 -08:00
2007-07-31 02:27:57 -07:00
2009-11-23 10:41:23 -08:00
2010-07-12 20:21:46 -07:00
2010-07-12 12:57:54 -07:00
2009-09-30 16:12:20 -07:00
2010-06-10 23:31:35 -07:00
2010-07-12 12:57:54 -07:00
2010-07-12 12:57:54 -07:00
2008-08-06 02:39:30 -07:00
2007-10-10 16:55:54 -07:00
2010-03-30 22:02:32 +09:00
2010-03-25 16:00:30 +01:00
2010-07-07 15:59:38 -07:00
2008-11-25 01:05:54 -08:00
2008-01-31 19:27:24 -08:00