From: Alex Netes <alexne-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
To: Hal Rosenstock <hal-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
Cc: Vincent Ficet <jean-vincent.ficet-6ktuUTfB/bM@public.gmane.org>,
"linux-rdma
(linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org)"
<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH] opensm/osm_switch.c: In osm_switch_set_hops, return, error when port_num is invalid
Date: Mon, 28 May 2012 11:15:44 +0300 [thread overview]
Message-ID: <20120528081544.GB13030@calypso> (raw)
In-Reply-To: <4FB9036F.7080803-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
Hi Hal,
On 10:45 Sun 20 May , Hal Rosenstock wrote:
> From d9c3d7500e1a3abe871fc41a3c17246d6fede695 Mon Sep 17 00:00:00 2001
> From: Hal Rosenstock <hal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> Date: Fri, 11 May 2012 14:58:17 +0300
> Subject: [PATCH 1/2] opensm/osm_switch.c: In osm_switch_set_hops, return
> error when port_num is invalid
>
> Port number can be 255 (which means drop) and such port number is past the end
> of the hops array for that LID.
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x7ffff0f84700 (LWP 9890)]
> 0x0000000000440d33 in osm_switch_set_hops (p_sw=0x7fffc839c340, lid_ho=9447,
> port_num=255 '\377', num_hops=<value optimized out>) at osm_switch.c:74
> 74 p_sw->hops[lid_ho][port_num] = num_hops;
> Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.25.el6.x86_64
> (gdb) bt
> lid_ho=9447, port_num=255 '\377', num_hops=<value optimized out>)
> at osm_switch.c:74
> at osm_ucast_ftree.c:750
> at osm_ucast_mgr.c:1058
> signal=<value optimized out>) at osm_state_mgr.c:1341
> at osm_state_mgr.c:1468
> at cl_thread.c:57
>
> Signed-off-by: Hal Rosenstock <hal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> ---
Applied. Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2012-05-28 8:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-20 14:45 [PATCH] opensm/osm_switch.c: In osm_switch_set_hops, return, error when port_num is invalid Hal Rosenstock
[not found] ` <4FB9036F.7080803-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2012-05-28 8:15 ` Alex Netes [this message]
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=20120528081544.GB13030@calypso \
--to=alexne-vpraknaxozvwk0htik3j/w@public.gmane.org \
--cc=hal-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org \
--cc=jean-vincent.ficet-6ktuUTfB/bM@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.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