diff options
Diffstat (limited to 'net/ipv4/ipvs')
-rw-r--r-- | net/ipv4/ipvs/ip_vs_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ipvs/ip_vs_core.c b/net/ipv4/ipvs/ip_vs_core.c index 74503267e5d4..fbca2a2ff29f 100644 --- a/net/ipv4/ipvs/ip_vs_core.c +++ b/net/ipv4/ipvs/ip_vs_core.c | |||
@@ -961,7 +961,7 @@ ip_vs_in(unsigned int hooknum, struct sk_buff **pskb, | |||
961 | * ... don't know why 1st test DOES NOT include 2nd (?) | 961 | * ... don't know why 1st test DOES NOT include 2nd (?) |
962 | */ | 962 | */ |
963 | if (unlikely(skb->pkt_type != PACKET_HOST | 963 | if (unlikely(skb->pkt_type != PACKET_HOST |
964 | || skb->dev == loopback_dev || skb->sk)) { | 964 | || skb->dev->flags & IFF_LOOPBACK || skb->sk)) { |
965 | IP_VS_DBG(12, "packet type=%d proto=%d daddr=%d.%d.%d.%d ignored\n", | 965 | IP_VS_DBG(12, "packet type=%d proto=%d daddr=%d.%d.%d.%d ignored\n", |
966 | skb->pkt_type, | 966 | skb->pkt_type, |
967 | ip_hdr(skb)->protocol, | 967 | ip_hdr(skb)->protocol, |