firewire: net: max MTU off by one
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 2 Nov 2016 20:09:44 +0000 (21:09 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 13 Jan 2018 15:37:24 +0000 (16:37 +0100)
commit4adf7bf7bbaefe71133305193c25d32863115dda
tree78f53781df9ee62acb24d40ab5c25053ee67eef3
parentbebc6082da0a9f5d47a1ea2edc099bf671058bd4
firewire: net: max MTU off by one

The latest max_mtu patch missed that datagram_size is actually one less
than the datagram's Total Length.

Fixes: 357f4aae859b ("firewire: net: really fix maximum possible MTU")
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/net.c