]> git.baikalelectronics.ru Git - kernel.git/commit
dccp: combine the functionality of enqeueing and cloning
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Sun, 3 Jul 2011 15:51:29 +0000 (09:51 -0600)
committerGerrit Renker <gerrit@erg.abdn.ac.uk>
Mon, 4 Jul 2011 18:36:47 +0000 (12:36 -0600)
commitb41c7f72059a80e17d16ea9da83b2143743c301d
tree07098d9f6996c188fb9e05e93a76627e06666796
parenta38f3260210062b9cca0ac36b8fe6e78c71b1f07
dccp: combine the functionality of enqeueing and cloning

Realising the following call pattern,
 * first dccp_entail() is called to enqueue a new skb and
 * then skb_clone() is called to transmit a clone of that skb,
this patch integrates both into the same function.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
net/dccp/output.c