Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 327590
b: refs/heads/master
c: 9e67030
h: refs/heads/master
v: v3
  • Loading branch information
danborkmann@iogearbox.net authored and David S. Miller committed Aug 23, 2012
1 parent f3f7ed0 commit 6868708
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bfdc587c5af4ff155cf702b972e8fcd66d77d5f2
refs/heads/master: 9e67030af367ab524d0856af9e992de241eca3c7
5 changes: 3 additions & 2 deletions trunk/net/packet/af_packet.c
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,8 @@ static void prb_fill_vlan_info(struct tpacket_kbdq_core *pkc,
ppd->hv1.tp_vlan_tci = vlan_tx_tag_get(pkc->skb);
ppd->tp_status = TP_STATUS_VLAN_VALID;
} else {
ppd->hv1.tp_vlan_tci = ppd->tp_status = 0;
ppd->hv1.tp_vlan_tci = 0;
ppd->tp_status = TP_STATUS_AVAILABLE;
}
}

Expand Down Expand Up @@ -1951,7 +1952,7 @@ static int tpacket_snd(struct packet_sock *po, struct msghdr *msg)
int tp_len, size_max;
unsigned char *addr;
int len_sum = 0;
int status = 0;
int status = TP_STATUS_AVAILABLE;
int hlen, tlen;

mutex_lock(&po->pg_vec_lock);
Expand Down

0 comments on commit 6868708

Please sign in to comment.