[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070702.220227.15591645.davem@davemloft.net>
Date: Mon, 02 Jul 2007 22:02:27 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: ilpo.jarvinen@...sinki.fi
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 3/9] [TCP]: Tighten tcp_sock's belt, drop left_out
From: "Ilpo_Järvinen" <ilpo.jarvinen@...sinki.fi>
Date: Thu, 31 May 2007 19:31:21 +0300 (EEST)
> (i.e, how does it show up in oops if tcp_verify_left_out looks like this):
>
> #define tcp_verify_left_out(tp) BUG_ON(...)
>
> ...does it still point to the tcp.h line xxxx then or to the
> tcp_sync_left_out(tp) @ line yyyy in tcp_input.c? ...I'll test that
> later on by myself in case you don't know the answer.
Yes a define would make the BUG appear in the function it gets
used in.
Depending upon the configuration and the implementation of BUG()
the same might happen for inline functions too. For example, if
the BUG() is configured in non-verbose mode and is implemented using
a trap instruction or __builtin_trap(). But you cannot depend
upon this universally of course.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists