aboutsummaryrefslogtreecommitdiff
path: root/website/static/security/patches/EN-22:17/cam.patch
blob: eed5a64f44b7b15d5dbfcba2d0bd7358329fd343 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- sys/cam/cam_periph.c.orig
+++ sys/cam/cam_periph.c
@@ -1421,6 +1421,7 @@
 	 * and the result will be the final one returned to the CCB owher.
 	 */
 	saved_ccb = (union ccb *)done_ccb->ccb_h.saved_ccb_ptr;
+	saved_ccb->ccb_h.periph_links = done_ccb->ccb_h.periph_links;
 	bcopy(saved_ccb, done_ccb, sizeof(*done_ccb));
 	xpt_free_ccb(saved_ccb);
 	if (done_ccb->ccb_h.cbfcnp != camperiphdone)