summaryrefslogtreecommitdiff
path: root/security/dummy.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-10-11 00:30:46 (GMT)
committerDavid S. Miller <davem@davemloft.net>2007-10-11 00:30:46 (GMT)
commit227b60f5102cda4e4ab792b526a59c8cb20cd9f8 (patch)
tree2c9e372601ba794894833b0618bc531a9f5d57c4 /security/dummy.c
parent06393009000779b00a558fd2f280882cc7dc2008 (diff)
downloadlinux-fsl-qoriq-227b60f5102cda4e4ab792b526a59c8cb20cd9f8.tar.xz
[INET]: local port range robustness
Expansion of original idea from Denis V. Lunev <den@openvz.org> Add robustness and locking to the local_port_range sysctl. 1. Enforce that low < high when setting. 2. Use seqlock to ensure atomic update. The locking might seem like overkill, but there are cases where sysadmin might want to change value in the middle of a DoS attack. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/dummy.c')
0 files changed, 0 insertions, 0 deletions