]> git.baikalelectronics.ru Git - kernel.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)
commit94a88061dedf0a7c77a6d5229233f6cf52f3d13b
treebb3ccc5690de363579f24b8cbe77116739e284a5
parentf2b30adb3f3b7d95a7097e4460058aa3942e951d
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