[SRU] [B] [PATCH 0/1] Fix for one-packet scheduling

Kai-Heng Feng kai.heng.feng at canonical.com
Tue Apr 9 05:37:12 UTC 2019


BugLink: https://bugs.launchpad.net/bugs/1819786

[Impact]
>From the commit message:
"Connections in One-packet scheduling mode (-o, --ops) are
removed with refcnt=0 because they are not hashed in conn table."

[Fix]
>From the commit message:
"To avoid refcount_dec reporting this as error, change them to be
removed with refcount_dec_if_one as all other connections."

[Test]
The bug reporter has a reproducer and confirmed this commit fixes the
issue.

[Regression Potential]
Low. Fix for a specific use case, and it's in upstream for a while.

Julian Anastasov (1):
  ipvs: fix refcount usage for conns in ops mode

 net/netfilter/ipvs/ip_vs_conn.c | 17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)

-- 
2.17.1




More information about the kernel-team mailing list