Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275657
b: refs/heads/master
c: e50e705
h: refs/heads/master
i:
  275655: 050f9fd
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Nov 8, 2011
1 parent 0571b3b commit 2032d26
Show file tree
Hide file tree
Showing 2 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: ea1649dea95fb270af94f75e842402c4cfbfc15f
refs/heads/master: e50e705ca71db82a78a3e13fb7abf6b2171ac9c7
8 changes: 4 additions & 4 deletions trunk/net/l2tp/l2tp_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -756,9 +756,6 @@ static int l2tp_udp_recv_core(struct l2tp_tunnel *tunnel, struct sk_buff *skb,
goto error;
}

/* Point to L2TP header */
optr = ptr = skb->data;

/* Trace packet contents, if enabled */
if (tunnel->debug & L2TP_MSG_DATA) {
length = min(32u, skb->len);
Expand All @@ -769,12 +766,15 @@ static int l2tp_udp_recv_core(struct l2tp_tunnel *tunnel, struct sk_buff *skb,

offset = 0;
do {
printk(" %02X", ptr[offset]);
printk(" %02X", skb->data[offset]);
} while (++offset < length);

printk("\n");
}

/* Point to L2TP header */
optr = ptr = skb->data;

/* Get L2TP header flags */
hdrflags = ntohs(*(__be16 *) ptr);

Expand Down

0 comments on commit 2032d26

Please sign in to comment.