]> git.baikalelectronics.ru Git - kernel.git/commit
inet: factor out inet_send_prepare()
authorPaolo Abeni <pabeni@redhat.com>
Wed, 3 Jul 2019 14:06:52 +0000 (16:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Jul 2019 20:51:54 +0000 (13:51 -0700)
commit474483e6c3619890f3cdb15dd82b7ba8f13dc1e1
tree9e02a9ba18ed8d4dcffdfa1413e0e1ea1c7e9b66
parent6bae76b7b5235ae451c7d647c94bc2c168ecc4fc
inet: factor out inet_send_prepare()

The same code is replicated verbatim in multiple places, and the next
patches will introduce an additional user for it. Factor out a
helper and use it where appropriate. No functional change intended.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_common.h
net/ipv4/af_inet.c