Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1222828
| From | Sudip Mukherjee <sudipm.mukherjee@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] spi: spidev: fix possible NULL dereference |
| Date | 2015-09-11 15:00 +0200 |
| Message-ID | <q7w5Q-203-23@gated-at.bofh.it> (permalink) |
| References | <q783w-8ez-15@gated-at.bofh.it> <q7vt8-1gv-21@gated-at.bofh.it> <q7vCO-1rQ-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Sep 11, 2015 at 01:25:13PM +0100, Mark Brown wrote:
> On Fri, Sep 11, 2015 at 03:11:32PM +0300, Jarkko Nikula wrote:
>
> > Actually this fixes a *real* NULL dereference case but it is not related to
> > normal open/close life cycle of spidev. It requires that spidev is kept open
> > when SPI master is removed.
>
> > spidev->spi is set to NULL in spidev_remove() and it is called before
> > spidev_release() in case master is removed while spidev is in use
>
> > It would be good to update this to commit log, add a tag below and Cc
> > <stable@vger.kernel.org>
>
> > Fixes: 9169051617df ("spi: spidev: Don't mangle max_speed_hz in underlying
> > spi device")
>
> The patch was already applied :(
Applied? But usually I will receive an auto mail from you after applying.
I dont think I have received any.
regards
sudip
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] spi: spidev: fix possible NULL dereference Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-09-10 13:20 +0200
Re: [PATCH] spi: spidev: fix possible NULL dereference Jarkko Nikula <jarkko.nikula@linux.intel.com> - 2015-09-11 14:20 +0200
Re: [PATCH] spi: spidev: fix possible NULL dereference Mark Brown <broonie@kernel.org> - 2015-09-11 14:30 +0200
Re: [PATCH] spi: spidev: fix possible NULL dereference Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-09-11 15:00 +0200
Re: [PATCH] spi: spidev: fix possible NULL dereference Mark Brown <broonie@kernel.org> - 2015-09-11 16:30 +0200
csiph-web