Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275707
b: refs/heads/master
c: eec2057
h: refs/heads/master
i:
  275705: 7f50eb8
  275703: fd9f470
v: v3
  • Loading branch information
Jesper Juhl authored and David S. Miller committed Nov 15, 2011
1 parent d381181 commit e3370c1
Show file tree
Hide file tree
Showing 2 changed files with 5 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: f8b8a80f2d5f2960482292d961df18a776e3e524
refs/heads/master: eec205719e97c95a422d0aa384d0517f6c74fc0a
6 changes: 4 additions & 2 deletions trunk/net/packet/af_packet.c
Original file line number Diff line number Diff line change
Expand Up @@ -516,11 +516,13 @@ static void prb_init_blk_timer(struct packet_sock *po,

static void prb_setup_retire_blk_timer(struct packet_sock *po, int tx_ring)
{
struct tpacket_kbdq_core *pkc;

if (tx_ring)
BUG();

prb_init_blk_timer(po, &po->rx_ring.prb_bdqc,
prb_retire_rx_blk_timer_expired);
pkc = tx_ring ? &po->tx_ring.prb_bdqc : &po->rx_ring.prb_bdqc;
prb_init_blk_timer(po, pkc, prb_retire_rx_blk_timer_expired);
}

static int prb_calc_retire_blk_tmo(struct packet_sock *po,
Expand Down

0 comments on commit e3370c1

Please sign in to comment.