Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 345
b: refs/heads/master
c: d8470b7
h: refs/heads/master
i:
  343: 12ba687
v: v3
  • Loading branch information
Karsten Keil authored and Linus Torvalds committed Apr 21, 2005
1 parent 6e94d2e commit f3ceac3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 3a6fd752a50af92765853879f4a11cc0cfcd0320
refs/heads/master: d8470b7c13e11c18cf14a7e3180f0b00e715e4f0
10 changes: 5 additions & 5 deletions trunk/drivers/isdn/i4l/isdn_ppp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1151,7 +1151,7 @@ isdn_ppp_push_higher(isdn_net_dev * net_dev, isdn_net_local * lp, struct sk_buff
{
u_int16_t *p = (u_int16_t *) skb->data;

*p = 0; /* indicate inbound in DLT_LINUX_SLL */
*p = 0; /* indicate inbound */
}

if (is->pass_filter
Expand Down Expand Up @@ -1293,12 +1293,12 @@ isdn_ppp_xmit(struct sk_buff *skb, struct net_device *netdev)
/* check if we should pass this packet
* the filter instructions are constructed assuming
* a four-byte PPP header on each packet */
skb_push(skb, 4);
*skb_push(skb, 4) = 1; /* indicate outbound */

{
u_int16_t *p = (u_int16_t *) skb->data;

*p++ = htons(4); /* indicate outbound in DLT_LINUX_SLL */
p++;
*p = htons(proto);
}

Expand Down Expand Up @@ -1491,12 +1491,12 @@ int isdn_ppp_autodial_filter(struct sk_buff *skb, isdn_net_local *lp)
* temporarily remove part of the fake header stuck on
* earlier.
*/
skb_pull(skb, IPPP_MAX_HEADER - 4);
*skb_pull(skb, IPPP_MAX_HEADER - 4) = 1; /* indicate outbound */

{
u_int16_t *p = (u_int16_t *) skb->data;

*p++ = htons(4); /* indicate outbound in DLT_LINUX_SLL */
p++;
*p = htons(proto);
}

Expand Down

0 comments on commit f3ceac3

Please sign in to comment.