aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCong Wang <amwang@redhat.com>2013-09-01 22:06:51 -0400
committerDavid S. Miller <davem@davemloft.net>2013-09-03 00:00:47 -0400
commit8c1bb79fde8117cc36db075c2da238af703717d7 (patch)
treea9b2ef5a71567f36f90ba76be4babcaf5105c192
parentba39767288661c01ac7797b6b981f73b6513cf55 (diff)
vxlan: fix flowi6_proto value
It should be IPPROTO_UDP. Signed-off-by: Cong Wang <amwang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/vxlan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index 3ffb22d684a9..0fcf3f768f6e 100644
--- a/drivers/net/vxlan.c
+++ b/drivers/net/vxlan.c
@@ -1671,7 +1671,7 @@ static void vxlan_xmit_one(struct sk_buff *skb, struct net_device *dev,
1671 fl6.flowi6_oif = rdst->remote_ifindex; 1671 fl6.flowi6_oif = rdst->remote_ifindex;
1672 fl6.daddr = dst->sin6.sin6_addr; 1672 fl6.daddr = dst->sin6.sin6_addr;
1673 fl6.saddr = vxlan->saddr.sin6.sin6_addr; 1673 fl6.saddr = vxlan->saddr.sin6.sin6_addr;
1674 fl6.flowi6_proto = skb->protocol; 1674 fl6.flowi6_proto = IPPROTO_UDP;
1675 1675
1676 if (ipv6_stub->ipv6_dst_lookup(sk, &ndst, &fl6)) { 1676 if (ipv6_stub->ipv6_dst_lookup(sk, &ndst, &fl6)) {
1677 netdev_dbg(dev, "no route to %pI6\n", 1677 netdev_dbg(dev, "no route to %pI6\n",