]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Fix the basic transmit DATA packet content size at 1412 bytes
authorDavid Howells <dhowells@redhat.com>
Sat, 17 Sep 2016 09:49:12 +0000 (10:49 +0100)
committerDavid Howells <dhowells@redhat.com>
Sat, 17 Sep 2016 09:54:32 +0000 (10:54 +0100)
commit9ec48002eb079c98be412cdef41405f947804ae4
tree93344d187c6cd6e5e2e31db46def9558eb8d2bdc
parentc236ceb1f32a582072f30f0a680549ccd6f16863
rxrpc: Fix the basic transmit DATA packet content size at 1412 bytes

Fix the basic transmit DATA packet content size at 1412 bytes so that they
can be arbitrarily assembled into jumbo packets.

In the future, I'm thinking of moving to keeping a jumbo packet header at
the beginning of each packet in the Tx queue and creating the packet header
on the spot when kernel_sendmsg() is invoked.  That way, jumbo packets can
be assembled on the spur of the moment for (re-)transmission.

Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/sendmsg.c