My last note was:
--- Using local node with dnprogs crashes the machine
---
This has not been solved.
But fortunately, the following + line to dn_nsp_out.c:dn_nsp_clone_and_send()
cb->xmit_count++;
cb->stamp = jiffies;
skb2->sk = skb->sk;
+ skb2->destructor = skb->destructor;
dn_nsp_send(skb2);
}
appears to fix the BUG_ON kernel panic (when connecting via the loopback device).