]> git.karo-electronics.de Git - karo-tx-linux.git/commit
raw: Restore /proc/net/raw correct behavior
authorEric Dumazet <dada1@cosmosbay.com>
Thu, 24 Jul 2008 06:54:35 +0000 (23:54 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 28 Jul 2008 17:58:17 +0000 (10:58 -0700)
commit2377f8ce84aa89678c51cb764337d2f2e1133835
treef96cea02d74f2924aa172bca3b435d62963b89ca
parentc7e0c40126de5c8de8d3346728b026d6a94c5021
raw: Restore /proc/net/raw correct behavior

[ Upstream commit 68be802cd5ad040fe8cfa33ce3031405df2d9117 ]

I just noticed "cat /proc/net/raw" was buggy, missing '\n' separators.

I believe this was introduced by commit 8cd850efa4948d57a2ed836911cfd1ab299e89c6
([RAW]: Cleanup IPv4 raw_seq_show.)

This trivial patch restores correct behavior, and applies to current
Linus tree (should also be applied to stable tree as well.)

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv4/raw.c