Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 315747
b: refs/heads/master
c: 7fe99e2
h: refs/heads/master
i:
  315745: f51aab7
  315743: 250ff61
v: v3
  • Loading branch information
Jesse Gross committed May 25, 2012
1 parent fa04c10 commit e4993be
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: caf2ee14bbc2c6bd73cf0decf576007e0239a482
refs/heads/master: 7fe99e2d434eafeac0c57b279a77e5de39212636
8 changes: 8 additions & 0 deletions trunk/net/openvswitch/vport-internal_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
#include <linux/ethtool.h>
#include <linux/skbuff.h>

#include <net/dst.h>
#include <net/xfrm.h>

#include "datapath.h"
#include "vport-internal_dev.h"
#include "vport-netdev.h"
Expand Down Expand Up @@ -209,6 +212,11 @@ static int internal_dev_recv(struct vport *vport, struct sk_buff *skb)
int len;

len = skb->len;

skb_dst_drop(skb);
nf_reset(skb);
secpath_reset(skb);

skb->dev = netdev;
skb->pkt_type = PACKET_HOST;
skb->protocol = eth_type_trans(skb, netdev);
Expand Down

0 comments on commit e4993be

Please sign in to comment.