[PATCH 167/241] SUNRPC: Set alloc_slot for backchannel tcp ops

Ben Hutchings ben at decadent.org.uk
Sat Dec 15 20:11:32 UTC 2012


On Thu, 2012-12-13 at 11:58 -0200, Herton Ronaldo Krzesinski wrote:
> 3.5.7.2 -stable review patch.  If anyone has any objections, please let me know.
> 
> ------------------
> 
> From: Bryan Schumaker <bjschuma at netapp.com>
> 
> commit 84e28a307e376f271505af65a7b7e212dd6f61f4 upstream.
> 
> f39c1bfb5a03e2d255451bff05be0d7255298fa4 (SUNRPC: Fix a UDP transport
> regression) introduced the "alloc_slot" function for xprt operations,
> but never created one for the backchannel operations.  This patch fixes
> a null pointer dereference when mounting NFS over v4.1.
[...]

Greg, you missed this in 3.4.y.  It might need a context fix; I'm
attaching the version I used for 3.2.y.

Ben.

-- 
Ben Hutchings
Theory and practice are closer in theory than in practice.
                                - John Levine, moderator of comp.compilers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sunrpc-set-alloc_slot-for-backchannel-tcp-ops.patch
Type: text/x-patch
Size: 1890 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20121215/7429d986/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20121215/7429d986/attachment.sig>


More information about the kernel-team mailing list