]> bbs.cooldavid.org Git - net-next-2.6.git/commit - net/ipv4/raw.c
raw: Restore /proc/net/raw correct behavior
authorEric Dumazet <dada1@cosmosbay.com>
Tue, 17 Jun 2008 00:03:32 +0000 (17:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jun 2008 00:03:32 +0000 (17:03 -0700)
commit68be802cd5ad040fe8cfa33ce3031405df2d9117
tree103502062ee25d04e9a158c43450d5ce5987d60b
parent6de329e26caed7bbbf51229c80f3948549d3c010
raw: Restore /proc/net/raw correct behavior

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>
net/ipv4/raw.c