mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Justin Guyett <justin@soze.net>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] 2.5.7-pre1 fix for api-caused ipmr.c compile failure
Date: Thu, 14 Mar 2002 22:10:44 +0000	[thread overview]
Message-ID: <20020314221044.GB17566@kobayashi.soze.net> (raw)

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

             reply	other threads:[~2002-03-14 22:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-14 22:10 Justin Guyett [this message]
2002-03-14 22:15 ` David S. Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020314221044.GB17566@kobayashi.soze.net \
    --to=justin@soze.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®