aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorCong Wang <[email protected]>2013-01-07 21:17:00 +0000
committerDavid S. Miller <[email protected]>2013-01-08 17:57:10 -0800
commitc9be4a5c49cf51cc70a993f004c5bb30067a65ce (patch)
tree35131e30c3a192b17908c40fed505331c0ec2fef /lib/mpi/mpi-internal.h
parented2c8911684ac780d051d251ad0cd9d797dd029c (diff)
net: prevent setting ttl=0 via IP_TTL
A regression is introduced by the following commit: commit 4d52cfbef6266092d535237ba5a4b981458ab171 Author: Eric Dumazet <[email protected]> Date: Tue Jun 2 00:42:16 2009 -0700 net: ipv4/ip_sockglue.c cleanups Pure cleanups but it is not a pure cleanup... - if (val != -1 && (val < 1 || val>255)) + if (val != -1 && (val < 0 || val > 255)) Since there is no reason provided to allow ttl=0, change it back. Reported-by: nitin padalia <[email protected]> Cc: nitin padalia <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: David S. Miller <[email protected]> Signed-off-by: Cong Wang <[email protected]> Acked-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions