aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_fastopen.c
diff options
context:
space:
mode:
authorDavid Ahern <[email protected]>2019-06-19 17:50:24 +0000
committerDavid S. Miller <[email protected]>2019-06-19 21:14:05 +0000
commitc7036d97acd2527cef145b5ef9ad1a37ed21bbe6 (patch)
treea3ce2a1f0113e511cded41712b0060d1aa124072 /net/ipv4/tcp_fastopen.c
parentnet: hns3: Fix inconsistent indenting (diff)
downloadkernel-c7036d97acd2527cef145b5ef9ad1a37ed21bbe6.tar.gz
kernel-c7036d97acd2527cef145b5ef9ad1a37ed21bbe6.zip
ipv6: Default fib6_type to RTN_UNICAST when not set
A user reported that routes are getting installed with type 0 (RTN_UNSPEC) where before the routes were RTN_UNICAST. One example is from accel-ppp which apparently still uses the ioctl interface and does not set rtmsg_type. Another is the netlink interface where ipv6 does not require rtm_type to be set (v4 does). Prior to the commit in the Fixes tag the ipv6 stack converted type 0 to RTN_UNICAST, so restore that behavior. Fixes: e8478e80e5a7 ("net/ipv6: Save route type in rt6_info") Signed-off-by: David Ahern <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_fastopen.c')
0 files changed, 0 insertions, 0 deletions