]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - multipath-tools/patches/0106-RHBZ-1159337-fix-double-free.patch
multipath-tools: Update to snapshot from 2013-02-22
[people/amarx/ipfire-3.x.git] / multipath-tools / patches / 0106-RHBZ-1159337-fix-double-free.patch
1 ---
2 multipathd/main.c | 5 ++---
3 1 file changed, 2 insertions(+), 3 deletions(-)
4
5 Index: multipath-tools-130222/multipathd/main.c
6 ===================================================================
7 --- multipath-tools-130222.orig/multipathd/main.c
8 +++ multipath-tools-130222/multipathd/main.c
9 @@ -669,9 +669,8 @@ ev_remove_path (struct path *pp, struct
10 /*
11 * update our state from kernel
12 */
13 - if (setup_multipath(vecs, mpp)) {
14 - goto fail;
15 - }
16 + if (setup_multipath(vecs, mpp))
17 + return 1;
18 sync_map_state(mpp);
19
20 condlog(2, "%s [%s]: path removed from map %s",