aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/proc_net.c
diff options
context:
space:
mode:
authorRoel Kluin <[email protected]>2007-11-13 11:16:17 +0000
committerDavid S. Miller <[email protected]>2007-11-13 11:16:17 +0000
commit9db7720cca8f55a1e0c8d0dc1587e35dca50afbf (patch)
tree6ca945d7594933d8aa4157c273da08c178000808 /fs/proc/proc_net.c
parent[NETFILTER]: bridge: fix double POSTROUTING hook invocation (diff)
downloadkernel-9db7720cca8f55a1e0c8d0dc1587e35dca50afbf.tar.gz
kernel-9db7720cca8f55a1e0c8d0dc1587e35dca50afbf.zip
[MYRI_SBUS]: Prevent that myri_do_handshake lies about ticks.
With '<=' tick can be incremented up to 26, The last loop is redundant since even when 'softstate' becomes 'STATE_READY', 'if (tick > 25)' will still cause the function to return -1, Signed-off-by: Roel Kluin <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'fs/proc/proc_net.c')
0 files changed, 0 insertions, 0 deletions