aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <[email protected]>2008-11-20 12:20:10 +0000
committerDavid S. Miller <[email protected]>2008-11-20 12:20:10 +0000
commit5ece6c2ddd6f7da9e95dc325c742c0f5afbcecbe (patch)
treecf8ebb119403f92df8a296002b9316c9fa38a8a6 /net/unix/af_unix.c
parentatl2: don't request irq on resume if netif running (diff)
downloadkernel-5ece6c2ddd6f7da9e95dc325c742c0f5afbcecbe.tar.gz
kernel-5ece6c2ddd6f7da9e95dc325c742c0f5afbcecbe.zip
net: fix tiny output corruption of /proc/net/snmp6
Because "name" is static, it can be occasionally be filled with somewhat garbage if two processes read /proc/net/snmp6. Also, remove useless casts and "-1" -- snprintf() correctly terminates it's output. Signed-off-by: Alexey Dobriyan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions