mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-26 10:49:21 +00:00
fix sheep_net kernel panic when combined with Linux AppleTalk module
This commit is contained in:
parent
9ae8499d64
commit
c5dc44e117
@ -489,6 +489,7 @@ static ssize_t sheep_net_write(struct file *f, const char *buf, size_t count, lo
|
||||
|
||||
/* Is this packet addressed solely to the local host? */
|
||||
if (is_local_addr(v, skb->data) && !(skb->data[0] & ETH_ADDR_MULTICAST)) {
|
||||
skb->destructor = do_nothing;
|
||||
skb->protocol = eth_type_trans(skb, v->ether);
|
||||
netif_rx(skb);
|
||||
return count;
|
||||
|
Loading…
Reference in New Issue
Block a user