The patch titled IB/ipath: disallow send of invalid packet sizes over UD has been removed from the -mm tree. Its filename is ib-ipath-disallow-send-of-invalid-packet-sizes.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: IB/ipath: disallow send of invalid packet sizes over UD From: "Bryan O'Sullivan" <bos@xxxxxxxxxxxxx> Signed-off-by: Ralph Campbell <ralph.campbell@xxxxxxxxxx> Signed-off-by: Bryan O'Sullivan <bryan.osullivan@xxxxxxxxxx> Cc: "Michael S. Tsirkin" <mst@xxxxxxxxxxxxxx> Cc: Roland Dreier <rolandd@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/infiniband/hw/ipath/ipath_ud.c | 5 +++++ 1 file changed, 5 insertions(+) diff -puN drivers/infiniband/hw/ipath/ipath_ud.c~ib-ipath-disallow-send-of-invalid-packet-sizes drivers/infiniband/hw/ipath/ipath_ud.c --- a/drivers/infiniband/hw/ipath/ipath_ud.c~ib-ipath-disallow-send-of-invalid-packet-sizes +++ a/drivers/infiniband/hw/ipath/ipath_ud.c @@ -275,6 +275,11 @@ int ipath_post_ud_send(struct ipath_qp * len += wr->sg_list[i].length; ss.num_sge++; } + /* Check for invalid packet size. */ + if (len > ipath_layer_get_ibmtu(dev->dd)) { + ret = -EINVAL; + goto bail; + } extra_bytes = (4 - len) & 3; nwords = (len + extra_bytes) >> 2; _ Patches currently in -mm which might be from bos@xxxxxxxxxxxxx are origin.patch ib-ipath-fixes-a-bug-where-our-delay-for-eeprom-no.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html