From: David Miller <davem@davemloft.net>
To: robert.dobrowolski@linux.intel.com
Cc: linux-usb@vger.kernel.org, stable@vger.kernel.org,
oliver@neukum.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, rafal.f.redzimski@intel.com
Subject: Re: [PATCH net,stable v2] net: cdc_ncm: update datagram size after changing mtu
Date: Fri, 20 May 2016 19:32:02 -0400 (EDT) [thread overview]
Message-ID: <20160520.193202.1451120008648712255.davem@davemloft.net> (raw)
In-Reply-To: <1463651769-27513-1-git-send-email-robert.dobrowolski@linux.intel.com>
From: Robert Dobrowolski <robert.dobrowolski@linux.intel.com>
Date: Thu, 19 May 2016 11:56:09 +0200
> From: Rafal Redzimski <rafal.f.redzimski@intel.com>
>
> Current implementation updates the mtu size and notify cdc_ncm
> device using USB_CDC_SET_MAX_DATAGRAM_SIZE request about datagram
> size change instead of changing rx_urb_size.
>
> Whenever mtu is being changed, datagram size should also be
> updated. Also updating maxmtu formula so it takes max_datagram_size with
> use of cdc_ncm_max_dgram_size() and not ctx.
>
> Signed-off-by: Robert Dobrowolski <robert.dobrowolski@linux.intel.com>
> Signed-off-by: Rafal Redzimski <rafal.f.redzimski@intel.com>
Appied, thanks.
prev parent reply other threads:[~2016-05-20 23:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-19 9:56 [PATCH net,stable v2] net: cdc_ncm: update datagram size after changing mtu Robert Dobrowolski
2016-05-19 18:22 ` Bjørn Mork
2016-05-20 23:32 ` David Miller [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=20160520.193202.1451120008648712255.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=oliver@neukum.org \
--cc=rafal.f.redzimski@intel.com \
--cc=robert.dobrowolski@linux.intel.com \
--cc=stable@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).