mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] 2.5.7-pre1 fix for api-caused ipmr.c compile failure
@ 2002-03-14 22:10 Justin Guyett
  2002-03-14 22:15 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Justin Guyett @ 2002-03-14 22:10 UTC (permalink / raw)
  To: linux-kernel

missed in some api change...

--- linux-2.5.6/net/ipv4/ipmr.c.orig	Thu Mar 14 22:04:28 2002
+++ linux-2.5.6/net/ipv4/ipmr.c	Thu Mar 14 22:03:54 2002
@@ -855,7 +855,7 @@
 	switch(optname)
 	{
 		case MRT_INIT:
-			if(sk->type!=SOCK_RAW || sk->num!=IPPROTO_IGMP)
+			if(sk->type!=SOCK_RAW || inet_sk(sk)->num!=IPPROTO_IGMP)
 				return -EOPNOTSUPP;
 			if(optlen!=sizeof(int))
 				return -ENOPROTOOPT;

-- 
Nature has made up her mind that  |  None learned the art of archery
what cannot defend itself shall   |  from me who did not make me, in the
not be defended. --Ralph Emerson  |  end, the target.  --Saadi of Shiraz

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-03-14 22:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-14 22:10 [PATCH] 2.5.7-pre1 fix for api-caused ipmr.c compile failure Justin Guyett
2002-03-14 22:15 ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®