All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH net-next 0/4] ipvs: check scheduler callback return values
@ 2015-02-24  5:07 Alex Gartrell
  2015-02-24  5:07 ` [RFC PATCH net-next 1/4] ipvs: move ip_vs_trash_put_dest into its own function Alex Gartrell
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Alex Gartrell @ 2015-02-24  5:07 UTC (permalink / raw)
  To: wensong, horms, ja; +Cc: lvs-devel, kernel-team, Alex Gartrell

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(-)

-- 
Alex Gartrell <agartrell@fb.com>


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-02-24  9:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-24  5:07 [RFC PATCH net-next 0/4] ipvs: check scheduler callback return values Alex Gartrell
2015-02-24  5:07 ` [RFC PATCH net-next 1/4] ipvs: move ip_vs_trash_put_dest into its own function Alex Gartrell
2015-02-24  5:07 ` [RFC PATCH net-next 2/4] ipvs: drop dest_p from ip_vs_new_dest Alex Gartrell
2015-02-24  5:07 ` [RFC PATCH net-next 3/4] ipvs: check return value of add_dest Alex Gartrell
2015-02-24  5:07 ` [RFC PATCH net-next 4/4] ipvs: check return value of del_dest Alex Gartrell
2015-02-24  7:30 ` [RFC PATCH net-next 0/4] ipvs: check scheduler callback return values Julian Anastasov
2015-02-24  7:51   ` Alex Gartrell
2015-02-24  9:17     ` Julian Anastasov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.