diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2016-10-29 22:16:58 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-30 04:00:45 +0100 |
commit | 357f4aae859b5d74554b0ccbb18556f1df4166c3 (patch) | |
tree | 895f146bbc449ebe9de704554565b4875fc1f107 /arch/m68k | |
parent | genetlink: Fix generic netlink family unregister (diff) | |
download | linux-357f4aae859b5d74554b0ccbb18556f1df4166c3.tar.xz linux-357f4aae859b5d74554b0ccbb18556f1df4166c3.zip |
firewire: net: really fix maximum possible MTU
The maximum unicast datagram size /without/ link fragmentation is
4096 - 4 = 4092 (max IEEE 1394 async payload size at >= S800 bus speed,
minus unfragmented encapssulation header). Max broadcast datagram size
without fragmentation is 8 bytes less than that (due to GASP header).
The maximum datagram size /with/ link fragmentation is 0xfff = 4095
for unicast and broadcast. This is because the RFC 2734 fragment
encapsulation header field for datagram size is only 12 bits wide.
Fixes: 5d48f00d836a('firewire: net: fix maximum possible MTU')
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/m68k')
0 files changed, 0 insertions, 0 deletions