Vlad Yasevich a5b8db9144 rtnetlink: Mask the rta_type when range checking
Range/validity checks on rta_type in rtnetlink_rcv_msg() do
not account for flags that may be set.  This causes the function
to return -EINVAL when flags are set on the type (for example
NLA_F_NESTED).

Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-03-17 11:43:40 -04:00
..
2013-02-11 14:16:26 -05:00
2013-03-10 05:19:26 -04:00
2013-02-21 12:05:51 -08:00
2013-03-07 16:26:45 -05:00
2013-02-21 12:05:51 -08:00
2013-03-08 00:35:44 -05:00
2013-02-21 12:05:51 -08:00
2012-09-26 21:10:25 -04:00
2013-02-21 12:05:51 -08:00
2013-02-10 19:41:08 -05:00