diff options
Diffstat (limited to 'net/ipv6/udp.c')
-rw-r--r-- | net/ipv6/udp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c index 233c3ab6aee4..1e586d92260e 100644 --- a/net/ipv6/udp.c +++ b/net/ipv6/udp.c | |||
@@ -477,12 +477,16 @@ try_again: | |||
477 | } | 477 | } |
478 | *addr_len = sizeof(*sin6); | 478 | *addr_len = sizeof(*sin6); |
479 | } | 479 | } |
480 | |||
481 | if (np->rxopt.all) | ||
482 | ip6_datagram_recv_common_ctl(sk, msg, skb); | ||
483 | |||
480 | if (is_udp4) { | 484 | if (is_udp4) { |
481 | if (inet->cmsg_flags) | 485 | if (inet->cmsg_flags) |
482 | ip_cmsg_recv(msg, skb); | 486 | ip_cmsg_recv(msg, skb); |
483 | } else { | 487 | } else { |
484 | if (np->rxopt.all) | 488 | if (np->rxopt.all) |
485 | ip6_datagram_recv_ctl(sk, msg, skb); | 489 | ip6_datagram_recv_specific_ctl(sk, msg, skb); |
486 | } | 490 | } |
487 | 491 | ||
488 | err = copied; | 492 | err = copied; |