[IPV6]: Do not send RH0 anymore.
Based on <draft-ietf-ipv6-deprecate-rh0-00.txt>. Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
c382bb9d32
commit
bb4dbf9e61
@ -657,11 +657,10 @@ int datagram_send_ctl(struct msghdr *msg, struct flowi *fl,
|
||||
rthdr = (struct ipv6_rt_hdr *)CMSG_DATA(cmsg);
|
||||
|
||||
switch (rthdr->type) {
|
||||
case IPV6_SRCRT_TYPE_0:
|
||||
#if defined(CONFIG_IPV6_MIP6) || defined(CONFIG_IPV6_MIP6_MODULE)
|
||||
case IPV6_SRCRT_TYPE_2:
|
||||
#endif
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
err = -EINVAL;
|
||||
goto exit_f;
|
||||
|
Reference in New Issue
Block a user