Skip to content
Commit 00dc3307 authored by Eiichi Tsukata's avatar Eiichi Tsukata Committed by David S. Miller
Browse files

net/ipv6: Fix misuse of proc_dointvec "flowlabel_reflect"

/proc/sys/net/ipv6/flowlabel_reflect assumes written value to be in the
range of 0 to 3. Use proc_dointvec_minmax instead of proc_dointvec.

Fixes: 323a53c4

 ("ipv6: tcp: enable flowlabel reflection in some RST packets")
Signed-off-by: default avatarEiichi Tsukata <devel@etsukata.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 27ba4059
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment