Re: [PATCH 0/2] Backport fixes for UBI

Richard Weinberger <[email protected]>
Newsgroups gmane.linux.kernel.stable,gmane.linux.drivers.mtd,gmane.linux.kernel
Message-ID <[email protected]>
----- Ursprüngliche Mail -----
> Von: "Dominique Martinet" <[email protected]>
> While looking at recent UBI patches I found these two commits that I
> believe are worth backporting.
> 
> We're not using fastmap so I don't care much about the leak there, but
> reducing wear is always good to take
> 
> Thanks!
> 
> Signed-off-by: Dominique Martinet <[email protected]>
> ---
> Cheng Ming Lin (1):
>      mtd: ubi: skip programming unused bits in ubi headers
> 
> Liyuan Pang (1):
>      ubi: fastmap: fix ubi->fm memory leak

While porting these back is not wrong, I have a hard time to see how the
current stables rules apply here.

"mtd: ubi: skip programming unused bits in ubi headers" does not fix anything.
It's a pure optimization for future flashes, UBI worked since ever without this
change.

"ubi: fastmap: fix ubi->fm memory leak" fixes a memory leak, yes. But only in a failure
path at attach time. Userspace cannot trigger this.

Thanks,
//richard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.