DevHeads.net

Fix for RHEL BZ#771868 in CentOS?

Hey,

We are blocked on a bug fixed by RHEL in
<a href="https://rhn.redhat.com/errata/RHBA-2012-0362.html" title="https://rhn.redhat.com/errata/RHBA-2012-0362.html">https://rhn.redhat.com/errata/RHBA-2012-0362.html</a>. Specifically, the splice
code in sendfile() incorrectly updating the offset position on the write
side, Red Hat BZ#771868.

I have not been able to figure out if this bugfix is included in any CentOS
releases. If you are better at reading release notes than me, could you
please help me out and let me know if there's a CentOS release that
includes this bugfix?

Thanks,
Jeff

Comments

Re: Fix for RHEL BZ#771868 in CentOS?

By Ned Slider at 12/01/2014 - 15:48

On 01/12/14 20:33, Jeff Hammerbacher wrote:
Hi Jeff,

It looks like it's fixed in the current kernel.

Hint: try grepping the package changelog:

$ rpm -q --changelog kernel-2.6.32-504.el6.x86_64 | grep sendfile
- [fs] Fix sendfile write-side file position (Steven Whitehouse) [770023]
- [fs] sendfile(): check f_op.splice_write() rather than f_op.sendpage()
(Lukas Czerner) [689426]

Those entries seem to match the bug description in the errata you list
so I'd guess it's fixed.

Re: Fix for RHEL BZ#771868 in CentOS?

By Ned Slider at 12/01/2014 - 15:56

On 01/12/14 20:48, Ned Slider wrote:
Further googling finds that it was fixed in the 6.2 kernel release, as
documented in the Technical Notes for 6.2:

<a href="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/6.2_Technical_Notes/kernel.html" title="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/6.2_Technical_Notes/kernel.html">https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6...</a>

^^ Search for "sendfile" and you will find it.