Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
568ea88e
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
568ea88e
编写于
12月 31, 2017
作者:
C
Christoph Hellwig
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
net/sctp: convert to ->poll_mask
Signed-off-by:
N
Christoph Hellwig
<
hch@lst.de
>
上级
4df7338f
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
4 addition
and
7 deletion
+4
-7
include/net/sctp/sctp.h
include/net/sctp/sctp.h
+1
-2
net/sctp/ipv6.c
net/sctp/ipv6.c
+1
-1
net/sctp/protocol.c
net/sctp/protocol.c
+1
-1
net/sctp/socket.c
net/sctp/socket.c
+1
-3
未找到文件。
include/net/sctp/sctp.h
浏览文件 @
568ea88e
...
...
@@ -107,8 +107,7 @@ int sctp_backlog_rcv(struct sock *sk, struct sk_buff *skb);
int
sctp_inet_listen
(
struct
socket
*
sock
,
int
backlog
);
void
sctp_write_space
(
struct
sock
*
sk
);
void
sctp_data_ready
(
struct
sock
*
sk
);
__poll_t
sctp_poll
(
struct
file
*
file
,
struct
socket
*
sock
,
poll_table
*
wait
);
__poll_t
sctp_poll_mask
(
struct
socket
*
sock
,
__poll_t
events
);
void
sctp_sock_rfree
(
struct
sk_buff
*
skb
);
void
sctp_copy_sock
(
struct
sock
*
newsk
,
struct
sock
*
sk
,
struct
sctp_association
*
asoc
);
...
...
net/sctp/ipv6.c
浏览文件 @
568ea88e
...
...
@@ -1007,7 +1007,7 @@ static const struct proto_ops inet6_seqpacket_ops = {
.
socketpair
=
sock_no_socketpair
,
.
accept
=
inet_accept
,
.
getname
=
sctp_getname
,
.
poll
=
sctp_poll
,
.
poll
_mask
=
sctp_poll_mask
,
.
ioctl
=
inet6_ioctl
,
.
listen
=
sctp_inet_listen
,
.
shutdown
=
inet_shutdown
,
...
...
net/sctp/protocol.c
浏览文件 @
568ea88e
...
...
@@ -1016,7 +1016,7 @@ static const struct proto_ops inet_seqpacket_ops = {
.
socketpair
=
sock_no_socketpair
,
.
accept
=
inet_accept
,
.
getname
=
inet_getname
,
/* Semantics are different. */
.
poll
=
sctp_poll
,
.
poll
_mask
=
sctp_poll_mask
,
.
ioctl
=
inet_ioctl
,
.
listen
=
sctp_inet_listen
,
.
shutdown
=
inet_shutdown
,
/* Looks harmless. */
...
...
net/sctp/socket.c
浏览文件 @
568ea88e
...
...
@@ -7701,14 +7701,12 @@ int sctp_inet_listen(struct socket *sock, int backlog)
* here, again, by modeling the current TCP/UDP code. We don't have
* a good way to test with it yet.
*/
__poll_t
sctp_poll
(
struct
file
*
file
,
struct
socket
*
sock
,
poll_table
*
wait
)
__poll_t
sctp_poll
_mask
(
struct
socket
*
sock
,
__poll_t
events
)
{
struct
sock
*
sk
=
sock
->
sk
;
struct
sctp_sock
*
sp
=
sctp_sk
(
sk
);
__poll_t
mask
;
poll_wait
(
file
,
sk_sleep
(
sk
),
wait
);
sock_rps_record_flow
(
sk
);
/* A TCP-style listening socket becomes readable when the accept queue
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录