]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
net: cdc_ncm: process chained NDPs
authorBjørn Mork <bjorn@mork.no>
Mon, 22 Oct 2012 10:56:32 +0000 (10:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Oct 2012 06:40:10 +0000 (02:40 -0400)
commit75d67d354f7c9bcaaee3dd30a627d8e34d068205
treefa1a3dc98669f80d59945117f9f53d8571a41848
parent38396e4c2984bf87283c2cda2c6aefa5876639dd
net: cdc_ncm: process chained NDPs

The NCM 1.0 spefication makes provisions for linking more than
one NDP into a single NTB. This is important for MBIM support,
where these NDPs might be of different types.

Following the chain of NDPs is also correct for NCM, and will
not change anything in the common case where there is only
one NDP

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_ncm.c