Skip to content
Snippets Groups Projects
Commit 3a50d694 authored by ChenXiaoSong's avatar ChenXiaoSong Committed by Yang Yingliang
Browse files

NFSv4.1: fix kabi for struct rpc_xprt


hulk inclusion
category: bugfix
bugzilla: NA
CVE: NA

-------------------------------------------------

commit a2ff6d97 ("NFSv4.1: Don't rebind to the same source port when reconnecting to the server")
add new member into struct rpc_xprt,
which will break KABI. This patch try to fix it.

Signed-off-by: default avatarChenXiaoSong <chenxiaosong2@huawei.com>
Reviewed-by: default avatarZhang Xiaoxu <zhangxiaoxu5@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 7f1196b6
No related branches found
No related tags found
No related merge requests found
......@@ -200,8 +200,12 @@ struct rpc_xprt {
unsigned int min_reqs; /* min number of slots */
unsigned int num_reqs; /* total slots */
unsigned long state; /* transport state */
#ifdef __GENKSYMS__
unsigned char resvport : 1; /* use a reserved port */
#else
unsigned char resvport : 1, /* use a reserved port */
reuseport : 1; /* reuse port on reconnect */
#endif
atomic_t swapper; /* we're swapping over this
transport */
unsigned int bind_index; /* bind function index */
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment