5 drivers/macintosh/mol/sheep.c | 4 ++--
6 1 file changed, 2 insertions(+), 2 deletions(-)
8 --- a/drivers/macintosh/mol/sheep.c
9 +++ b/drivers/macintosh/mol/sheep.c
10 @@ -82,7 +82,7 @@ struct SheepVars {
13 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,12))
14 -#define compat_sk_alloc(a,b,c) sk_alloc( (a), (b), &mol_proto, 1 )
15 +#define compat_sk_alloc(a,b,c) sk_alloc(&init_net, (a), (b), &mol_proto)
17 #define compat_sk_alloc(a,b,c) sk_alloc( (a), (b), (c), NULL )
19 @@ -558,7 +558,7 @@ sheep_net_ioctl( struct inode *inode, st
23 - if( !(v->ether=dev_get_by_name(name)) )
24 + if( !(v->ether=dev_get_by_name(&init_net, name)) )