[IBAL] CEP Manager: Save proper MTU (excluding MTU selector) in __format_path_av.
authorftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Fri, 4 Aug 2006 08:04:45 +0000 (08:04 +0000)
committerftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Fri, 4 Aug 2006 08:04:45 +0000 (08:04 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@440 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

core/al/kernel/al_cm_cep.c

index 3e9035b..dfaf819 100644 (file)
@@ -4218,7 +4218,7 @@ __format_path_av(
         * Note that while we never use the connected AV attributes internally,\r
         * we store them so we can pass them back to users.\r
         */\r
-       p_av->attr.conn.path_mtu = p_path->mtu;\r
+       p_av->attr.conn.path_mtu = ib_path_rec_mtu( p_path );\r
        p_av->attr.conn.local_ack_timeout = calc_lcl_ack_timeout(\r
                ib_path_rec_pkt_life( p_path ) + 1, 0 );\r
 \r