提交 c2f4374b 编写于 作者: B Björn Töpel 提交者: Daniel Borkmann

xsk: proper '=' alignment

Properly align xsk_proto_ops initialization.
Signed-off-by: NBjörn Töpel <bjorn.topel@intel.com>
Signed-off-by: NDaniel Borkmann <daniel@iogearbox.net>
上级 da60cf00
...@@ -545,24 +545,24 @@ static struct proto xsk_proto = { ...@@ -545,24 +545,24 @@ static struct proto xsk_proto = {
}; };
static const struct proto_ops xsk_proto_ops = { static const struct proto_ops xsk_proto_ops = {
.family = PF_XDP, .family = PF_XDP,
.owner = THIS_MODULE, .owner = THIS_MODULE,
.release = xsk_release, .release = xsk_release,
.bind = xsk_bind, .bind = xsk_bind,
.connect = sock_no_connect, .connect = sock_no_connect,
.socketpair = sock_no_socketpair, .socketpair = sock_no_socketpair,
.accept = sock_no_accept, .accept = sock_no_accept,
.getname = sock_no_getname, .getname = sock_no_getname,
.poll = xsk_poll, .poll = xsk_poll,
.ioctl = sock_no_ioctl, .ioctl = sock_no_ioctl,
.listen = sock_no_listen, .listen = sock_no_listen,
.shutdown = sock_no_shutdown, .shutdown = sock_no_shutdown,
.setsockopt = xsk_setsockopt, .setsockopt = xsk_setsockopt,
.getsockopt = xsk_getsockopt, .getsockopt = xsk_getsockopt,
.sendmsg = xsk_sendmsg, .sendmsg = xsk_sendmsg,
.recvmsg = sock_no_recvmsg, .recvmsg = sock_no_recvmsg,
.mmap = xsk_mmap, .mmap = xsk_mmap,
.sendpage = sock_no_sendpage, .sendpage = sock_no_sendpage,
}; };
static void xsk_destruct(struct sock *sk) static void xsk_destruct(struct sock *sk)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册