Skip to content

RFC ipvs: check scheduler callback return values

Alex Gartrell lvs-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ipvs: move ip_vs_trash_put_dest into its own functionnet/netfilter/ipvs/ip_vs_ctl.c+19 -120 replies
2/4ipvs: drop dest_p from ip_vs_new_destnet/netfilter/ipvs/ip_vs_ctl.c+1 -30 replies
3/4ipvs: check return value of add_destnet/netfilter/ipvs/ip_vs_ctl.c+21 -70 replies
4/4ipvs: check return value of del_destnet/netfilter/ipvs/ip_vs_ctl.c+20 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH net-next 0/4] ipvs: check scheduler callback return values

We have a custom scheduler that is failing some atomic allocations sometimes, and it was made pretty hard to discover by the fact that we more or less drop the return code on the floor. This is especially nasty, as the ipvsadm -ln invocation shows the scheduler to be as we wish it were instead of as it is.

This is an RFC because I have no idea what the best way to proceed with the upd_dest invocation is. I could clone all of the state and simply restore it, but I figured one of you might have a better idea.

Alex Gartrell (4):
ipvs: move ip_vs_trash_put_dest into its own function
ipvs: drop dest_p from ip_vs_new_dest
ipvs: check return value of add_dest
ipvs: check return value of del_dest

 net/netfilter/ipvs/ip_vs_ctl.c | 106 +++++++++++++++++++++++++----------------
 1 file changed, 66 insertions(+), 40 deletions(-)
Signature · 1 line
Alex Gartrell <[email protected]>