]> git.ipfire.org Git - thirdparty/bird.git/commit - sysdep/linux/netlink.c
Netlink: attribute validation before parsing
authorJan Moskyto Matejka <mq@ucw.cz>
Tue, 10 Nov 2015 13:59:41 +0000 (14:59 +0100)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 24 Nov 2015 13:30:20 +0000 (14:30 +0100)
commitad27615760e2795da3efe5e97c0e888281d5ca59
tree8119140beef1b739cc024040f8c71c881e0d61c7
parente422ca0f292d08a873deacdbffbb6c6cbd79f88a
Netlink: attribute validation before parsing

Wanted netlink attributes are defined in a table, specifying
their size and neediness. Removing the long conditions that did the
validation before.

Also parsing IPv4 and IPv6 versions regardless on the IPV6 macro.
sysdep/linux/netlink.c