mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: rahul b jain cs student <rbj2@oak.njit.edu>
To: linux-kernel@vger.kernel.org
Subject: Question about ip_rcv_finish()
Date: Fri, 2 Jul 2004 14:56:48 -0400 (EDT)	[thread overview]
Message-ID: <Pine.GSO.4.58.0407021451250.8213@chrome.njit.edu> (raw)

Hi everyone,

I had a questions regarding a piece of code in ip_rcv_finish() function.
This function checks if there are any options in the packet. If so, it
only tries to process the Strict Source Route option.

if (opt->srr) {
	....
	if (ip_options_rcv_srr(skb))
		goto drop;
}

Can anyone please explain, why only opt->srr is being checked for and not
the other two options namely opt->rr and opt->ts.

Thanks,
Rahul.

                 reply	other threads:[~2004-07-02 18:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=Pine.GSO.4.58.0407021451250.8213@chrome.njit.edu \
    --to=rbj2@oak.njit.edu \
    --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®