[Kernel-packages] [Bug 1483440] Re: odd behavior with /proc/net/route reading via sh 'read'

2015-09-04 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 4.2.0-7.7 --- linux (4.2.0-7.7) wily; urgency=low [ Tim Gardner ] * Release Tracking Bug - LP: #1490564 * rebase to v4.2 [ Wen Xiong ] * SAUCE: ipr: Byte swapping for device_id attribute in sysfs - LP: #1453892 [

[Kernel-packages] [Bug 1483440] Re: odd behavior with /proc/net/route reading via sh 'read'

2015-09-01 Thread Andy Whitcroft
** Changed in: linux (Ubuntu Wily) Milestone: ubuntu-15.08 => ubuntu-15.09 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1483440 Title: odd behavior with /proc/net/route reading

[Kernel-packages] [Bug 1483440] Re: odd behavior with /proc/net/route reading via sh 'read'

2015-08-24 Thread Andy Whitcroft
Arrived in the v4.2-rc8 rebase, will be in the 4.2.0-6.6 upload. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1483440 Title: odd behavior with /proc/net/route reading via sh 'read'

[Kernel-packages] [Bug 1483440] Re: odd behavior with /proc/net/route reading via sh 'read'

2015-08-21 Thread Tim Gardner
** Also affects: linux (Ubuntu Wily) Importance: Medium Assignee: Andy Whitcroft (apw) Status: In Progress ** Changed in: linux (Ubuntu Wily) Status: In Progress = Fix Committed -- You received this bug notification because you are a member of Kernel Packages, which is

[Kernel-packages] [Bug 1483440] Re: odd behavior with /proc/net/route reading via sh 'read'

2015-08-19 Thread Andy Whitcroft
Patch accepted upstream and queued for stable. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1483440 Title: odd behavior with /proc/net/route reading via sh 'read' Status in linux

[Kernel-packages] [Bug 1483440] Re: odd behavior with /proc/net/route reading via sh 'read'

2015-08-19 Thread Andy Whitcroft
commit 25b97c016b26039982daaa2c11d83979f93b71ab Author: Andy Whitcroft a...@canonical.com Date: Thu Aug 13 20:49:01 2015 +0100 ipv4: off-by-one in continuation handling in /proc/net/route When generating /proc/net/route we emit a header followed by a line for each route. When

[Kernel-packages] [Bug 1483440] Re: odd behavior with /proc/net/route reading via sh 'read'

2015-08-13 Thread Andy Whitcroft
Patch submited upstream for this issue: Subject: ipv4: off-by-one in continuation handling in /proc/net/route -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1483440 Title: odd behavior

[Kernel-packages] [Bug 1483440] Re: odd behavior with /proc/net/route reading via sh 'read'

2015-08-11 Thread Andy Whitcroft
** Changed in: linux (Ubuntu) Importance: Undecided = Medium ** Changed in: linux (Ubuntu) Assignee: (unassigned) = Andy Whitcroft (apw) ** Changed in: linux (Ubuntu) Milestone: None = ubuntu-15.08 -- You received this bug notification because you are a member of Kernel Packages,

[Kernel-packages] [Bug 1483440] Re: odd behavior with /proc/net/route reading via sh 'read'

2015-08-11 Thread Andy Whitcroft
This appears to be an off-by-one issue when handling reads which are smaller than the overall returned size for the table. This is easily spotted in the read line by line mode triggered in the following test script: #!/bin/bash while read l do echo $l done /proc/net/route

[Kernel-packages] [Bug 1483440] Re: odd behavior with /proc/net/route reading via sh 'read'

2015-08-10 Thread Scott Moser
Heres a hint, something goes foul around block size == content size. $ cp /proc/net/route /tmp/out $ ls -l /tmp/out -rw-rw-r-- 1 ubuntu ubuntu 512 Aug 11 01:06 /tmp/out $ outf=/tmp/out; for exp in 1 2 3 4 5 6 7 8 9 10; do printf bs=%-8s $((2**$exp)); out=$(dd if=/proc/net/route of=$outf