From c5dc44e1172919462b0c425473b90b041203a809 Mon Sep 17 00:00:00 2001 From: Masaq- Date: Sat, 20 Jun 2015 01:54:50 +0000 Subject: [PATCH] fix sheep_net kernel panic when combined with Linux AppleTalk module --- BasiliskII/src/Unix/Linux/NetDriver/sheep_net.c | 1 + 1 file changed, 1 insertion(+) diff --git a/BasiliskII/src/Unix/Linux/NetDriver/sheep_net.c b/BasiliskII/src/Unix/Linux/NetDriver/sheep_net.c index 32065835..94599bf2 100644 --- a/BasiliskII/src/Unix/Linux/NetDriver/sheep_net.c +++ b/BasiliskII/src/Unix/Linux/NetDriver/sheep_net.c @@ -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;