Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98237
b: refs/heads/master
c: 8b8091f
h: refs/heads/master
i:
  98235: 1a101a0
v: v3
  • Loading branch information
Josh Boyer authored and Jeff Garzik committed Jun 18, 2008
1 parent e6a2161 commit 8759b9e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 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: f09f7ee20c867818bacf79426cf491b2749e7eff
refs/heads/master: 8b8091fbf4d8791ad70b146ba2c892c62c2cdc6b
1 change: 1 addition & 0 deletions trunk/drivers/net/ibm_newemac/Kconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
config IBM_NEW_EMAC
tristate "IBM EMAC Ethernet support"
depends on PPC_DCR && PPC_MERGE
select CRC32
help
This driver supports the IBM EMAC family of Ethernet controllers
typically found on 4xx embedded PowerPC chips, but also on the
Expand Down
15 changes: 0 additions & 15 deletions trunk/drivers/net/tun.c
Original file line number Diff line number Diff line change
Expand Up @@ -313,21 +313,6 @@ static __inline__ ssize_t tun_get_user(struct tun_struct *tun, struct iovec *iv,

switch (tun->flags & TUN_TYPE_MASK) {
case TUN_TUN_DEV:
if (tun->flags & TUN_NO_PI) {
switch (skb->data[0] & 0xf0) {
case 0x40:
pi.proto = htons(ETH_P_IP);
break;
case 0x60:
pi.proto = htons(ETH_P_IPV6);
break;
default:
tun->dev->stats.rx_dropped++;
kfree_skb(skb);
return -EINVAL;
}
}

skb_reset_mac_header(skb);
skb->protocol = pi.proto;
skb->dev = tun->dev;
Expand Down

0 comments on commit 8759b9e

Please sign in to comment.