aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2014-08-18 13:56:38 +1000
committerNeilBrown <[email protected]>2014-08-19 17:20:27 +1000
commitce0b0a46955d1bb389684a2605dbcaa990ba0154 (patch)
tree70f9d9eeecb0cb9eb4fa69b2d161a2ab72c7e5e4 /net/lapb/lapb_subr.c
parent9c4bdf697c39805078392d5ddbbba5ae5680e0dd (diff)
md/raid10: fix memory leak when reshaping a RAID10.
raid10 reshape clears unwanted bits from a bio->bi_flags using a method which, while clumsy, worked until 3.10 when BIO_OWNS_VEC was added. Since then it clears that bit but shouldn't. This results in a memory leak. So change to used the approved method of clearing unwanted bits. As this causes a memory leak which can consume all of memory the fix is suitable for -stable. Fixes: a38352e0ac02dbbd4fa464dc22d1352b5fbd06fd Cc: [email protected] (v3.10+) Reported-by: [email protected] (Peter Koch) Signed-off-by: NeilBrown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions