RFC ipvs: check scheduler callback return values
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest4 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | ipvs: move ip_vs_trash_put_dest into its own functionnet/ | +19 | 0 replies | |
| 2/4 | ipvs: drop dest_p from ip_vs_new_destnet/ | +1 | 0 replies | |
| 3/4 | ipvs: check return value of add_destnet/ | +21 | 0 replies | |
| 4/4 | ipvs: check return value of del_destnet/ | +20 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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]>