diff options
author | David Ahern <dsahern@gmail.com> | 2019-05-22 12:07:43 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-22 17:50:24 -0700 |
commit | 75425657fe3ad853b300976966d8fafa3f209b89 (patch) | |
tree | 6ec1b0dadf34348c24bdc764b2e3b5c782cc030c /net/sched/sch_red.c | |
parent | e38f7cbd36e4d8ef6c1c56f9643adf8898cb3cb9 (diff) |
net: Set strict_start_type for routes and rules
New userspace on an older kernel can send unknown and unsupported
attributes resulting in an incompelete config which is almost
always wrong for routing (few exceptions are passthrough settings
like the protocol that installed the route).
Set strict_start_type in the policies for IPv4 and IPv6 routes and
rules to detect new, unsupported attributes and fail the route add.
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_red.c')
0 files changed, 0 insertions, 0 deletions