Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 314711
b: refs/heads/master
c: 4d5d2db
h: refs/heads/master
i:
  314709: 6de147b
  314707: 488f79a
  314703: c455c0c
v: v3
  • Loading branch information
Sven Eckelmann authored and Antonio Quartulli committed Jun 28, 2012
1 parent 06eaff9 commit 25d4277
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 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: c11fdfaefa46a83a668a73dc3ae90859e99ed251
refs/heads/master: 4d5d2db8d5a40b18e562fe2fa4ef9b1f9710ff82
2 changes: 1 addition & 1 deletion trunk/net/batman-adv/originator.c
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ static void _batadv_purge_orig(struct bat_priv *bat_priv)
}

if (batadv_has_timed_out(orig_node->last_frag_packet,
FRAG_TIMEOUT))
BATADV_FRAG_TIMEOUT))
batadv_frag_list_free(&orig_node->frag_list);
}
spin_unlock_bh(list_lock);
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/batman-adv/unicast.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ static int batadv_frag_create_buffer(struct list_head *head)
int i;
struct frag_packet_list_entry *tfp;

for (i = 0; i < FRAG_BUFFER_SIZE; i++) {
for (i = 0; i < BATADV_FRAG_BUFFER_SIZE; i++) {
tfp = kmalloc(sizeof(*tfp), GFP_ATOMIC);
if (!tfp) {
batadv_frag_list_free(head);
Expand Down
4 changes: 2 additions & 2 deletions trunk/net/batman-adv/unicast.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@

#include "packet.h"

#define FRAG_TIMEOUT 10000 /* purge frag list entries after time in ms */
#define FRAG_BUFFER_SIZE 6 /* number of list elements in buffer */
#define BATADV_FRAG_TIMEOUT 10000 /* purge frag list entries after time in ms */
#define BATADV_FRAG_BUFFER_SIZE 6 /* number of list elements in buffer */

int batadv_frag_reassemble_skb(struct sk_buff *skb, struct bat_priv *bat_priv,
struct sk_buff **new_skb);
Expand Down

0 comments on commit 25d4277

Please sign in to comment.