]> Pileus Git - ~andy/linux/commit
mcast: define and use MRT[6]_MAX in ip[6]_mroute_opt()
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Mon, 21 Jan 2013 06:00:25 +0000 (06:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jan 2013 18:55:14 +0000 (13:55 -0500)
commitbbb923a4c2d17ebd5ec34755fe19a33914cbd86f
treef9e3f172e6d157bafa94c3722b4427f90c9c241e
parent202dc3fc599c1dded235d3b448d9ca924252e354
mcast: define and use MRT[6]_MAX in ip[6]_mroute_opt()

This will ease further addition of new MRT[6]_* values and avoid to update
in6.h each time.
Note that we reduce the maximum value from 210 to 209, but 210 does not match
any known value in ip[6]_mroute_setsockopt().

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: David L Stevens <dlstevens@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/mroute.h
include/linux/mroute6.h
include/uapi/linux/in6.h
include/uapi/linux/mroute.h
include/uapi/linux/mroute6.h