All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Dykstra <john.dykstra1@gmail.com>
To: Stephen Hemminger <shemminger@vyatta.com>
Cc: netdev@vger.kernel.org
Subject: Re: kernel dies if loopback device not intialized
Date: Wed, 17 Jun 2009 21:51:22 -0500	[thread overview]
Message-ID: <1245293482.10073.5.camel@merlyn> (raw)
In-Reply-To: <20090616215331.2a1bd276@nehalam>

On Tue, 2009-06-16 at 21:53 -0700, Stephen Hemminger wrote:
> The packets come from SNMP smux which opens a TCP socket over 127.1
> but the loopback interface is in admin down. 

Hmmm...the stack is doing the ARP because it doesn't have a valid route
for 127.0.0.1.  But I would expect it to be ARPing a default router, and
getting a response (modulo your network state).  What am I missing?

> I suspect the packet
> bouncing from ARP is the TCP SYN packet which does not have a
> mac_header()
> because it is going over the (down) loopback.

Loopback packets have a L2 header--it's just not very interesting.

Even if they never got an L2 header added, skb->mac_header shouldn't be
garbage.

  --  John


  reply	other threads:[~2009-06-18  2:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-11  3:35 kernel dies if loopback device not intialized Stephen Hemminger
2009-06-15 15:41 ` John Dykstra
2009-06-17  4:53   ` Stephen Hemminger
2009-06-18  2:51     ` John Dykstra [this message]
2009-06-18 12:25       ` John Dykstra
2009-06-18  1:18   ` Stephen Hemminger

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=1245293482.10073.5.camel@merlyn \
    --to=john.dykstra1@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=shemminger@vyatta.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.