Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 78fcbdae authored by Andreas Gruenbacher's avatar Andreas Gruenbacher Committed by Philipp Reisner
Browse files

drbd: receive_bitmap: Missing free_page() on error path

parent de1f8e4a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3499,7 +3499,7 @@ static int receive_bitmap(struct drbd_conf *mdev, enum drbd_packets cmd, unsigne
				goto out;
			if (data_size <= (sizeof(*p) - sizeof(p->head))) {
				dev_err(DEV, "ReportCBitmap packet too small (l:%u)\n", data_size);
				return false;
				goto out;
			}
			ret = decode_bitmap_c(mdev, p, &c);
		} else {