fib, fib6: reject invalid feature bits
authorDaniel Borkmann <daniel@iogearbox.net>
Mon, 31 Aug 2015 13:58:46 +0000 (15:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Aug 2015 19:34:00 +0000 (12:34 -0700)
Feature bits that are invalid should not be accepted by the kernel,
only the lower 4 bits may be configured, but not the remaining ones.
Even from these 4, 2 of them are unused.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/rtnetlink.h
net/ipv4/fib_semantics.c
net/ipv6/route.c

Simple merge
Simple merge
Simple merge