Le 16/10/2017 à 16:24, Michael J. Ruhl a écrit : > From: Michael J. Ruhl <michael.j.ruhl@xxxxxxxxx> > > Setting the provider keyword in the ibacm_opts.cfg file to something > other than 'default' will cause ibacm to segfault on startup: > > ibacm[32739]: segfault at 302e40 ip 000000000040432d > sp 00007ffe4039e1c0 error 4 in ibacm[400000+c000] > > To re-produce the segfault, change the provider keyword in > ibacm_opts.cfg from: > > provider ibacmp default > > to: > > provider ibacmp 0xFE80000000000000 > > When adding subnets to a provider subnet list, the incorrect list is > used. The list used is the provider_list (list of all providers) > rather than the (specific) provider subnet list. > > This corrupts the provider_list, and causes ibacm to crash with the > above segfault. > > Use the correct list when adding subnet information to a provider. > > Fixes: 26e05f8304a506 ("ibacm: use ccan/list.h") > Reviewed-by: Mike Marciniszyn <mike.marciniszyn@xxxxxxxxx> > Signed-off-by: Michael J. Ruhl <michael.j.ruhl@xxxxxxxxx> For this patch only (no setup for the first one) Tested-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@xxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html