Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1615860
| From | "Reshetova, Elena" <elena.reshetova@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | RE: [PATCH 16/16] drivers, net, intersil: convert request_context.refcount from atomic_t to refcount_t |
| Date | 2017-04-04 12:20 +0200 |
| Message-ID | <tstJ7-3vl-5@gated-at.bofh.it> (permalink) |
| References | <tpV8T-535-29@gated-at.bofh.it> <tpViy-5md-23@gated-at.bofh.it> <ts8EF-6js-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
> Elena Reshetova <elena.reshetova@intel.com> writes: > > > refcount_t type and corresponding API should be > > used instead of atomic_t when the variable is used as > > a reference counter. This allows to avoid accidental > > refcounter overflows that might lead to use-after-free > > situations. > > > > Signed-off-by: Elena Reshetova <elena.reshetova@intel.com> > > Signed-off-by: Hans Liljestrand <ishkamiel@gmail.com> > > Signed-off-by: Kees Cook <keescook@chromium.org> > > Signed-off-by: David Windsor <dwindsor@gmail.com> > > --- > > drivers/net/wireless/intersil/orinoco/orinoco_usb.c | 15 ++++++++------- > > 1 file changed, 8 insertions(+), 7 deletions(-) > > The prefix should be "orinoco_usb:", I'll fix that. Thanks for both! Will you take the patches in? Best Regards, Elena. > > -- > Kalle Valo
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 16/16] drivers, net, intersil: convert request_context.refcount from atomic_t to refcount_t Elena Reshetova <elena.reshetova@intel.com> - 2017-03-28 11:10 +0200
Re: [PATCH 16/16] drivers, net, intersil: convert request_context.refcount from atomic_t to refcount_t Kalle Valo <kvalo@codeaurora.org> - 2017-04-03 13:50 +0200
RE: [PATCH 16/16] drivers, net, intersil: convert request_context.refcount from atomic_t to refcount_t "Reshetova, Elena" <elena.reshetova@intel.com> - 2017-04-04 12:20 +0200
Re: [PATCH 16/16] drivers, net, intersil: convert request_context.refcount from atomic_t to refcount_t Kalle Valo <kvalo@codeaurora.org> - 2017-04-05 12:40 +0200
csiph-web