]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bonding: 3ad: remove bond_3ad_rx_indication's length argument
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Fri, 18 Jan 2019 12:30:21 +0000 (14:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Jan 2019 20:04:14 +0000 (12:04 -0800)
commitdadeb61dcc9acf6a6cafde3ff4931ef88d2e6677
treebb3ccc5690de363579f24b8cbe77116739e284a5
parent3d021715d994766b59ce724843c6add030d9de6a
bonding: 3ad: remove bond_3ad_rx_indication's length argument

Since the received lacpdu is accessed via skb_header_pointer() in
bond_3ad_lacpdu_recv() we no longer need to check for skb->len's length.
If the returned lacpdu pointer is not null that should be enough.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_3ad.c