Re: [PATCH net-next] net: Change nhc_flags to unsigned char

2019-04-23 Thread David Miller
From: David Ahern Date: Tue, 23 Apr 2019 08:48:09 -0700 > From: David Ahern > > nhc_flags holds the RTNH_F flags for a given nexthop (fib{6}_nh). > All of the RTNH_F_ flags fit in an unsigned char, and since the API to > userspace (rtnh_flags and lower byte of rtm_flags) is 1 byte it can not >

[PATCH net-next] net: Change nhc_flags to unsigned char

2019-04-23 Thread David Ahern
From: David Ahern nhc_flags holds the RTNH_F flags for a given nexthop (fib{6}_nh). All of the RTNH_F_ flags fit in an unsigned char, and since the API to userspace (rtnh_flags and lower byte of rtm_flags) is 1 byte it can not grow. Make nhc_flags in fib_nh_common an unsigned char and shrink the