mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-26 10:49:21 +00:00
Merge pull request #74 from Masaq-/sheep_net
fix sheep_net kernel panic when combined with Linux AppleTalk module
This commit is contained in:
commit
339c421787
@ -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