summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorAllan Stephens <allan.stephens@windriver.com>2011-05-31 16:10:08 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-06-24 16:18:18 -0400
commite244a915ff7676b1567ba68102c9b53011f5b766 (patch)
treec5c2eaede7ac38927a075d7b019e36cc54f65daf /sound
parent741d9eb7b8f352071f56aacb77f5245b4e2a4fbe (diff)
tipc: Optimize creation of FIN messages
Speeds up the creation of the FIN message that terminates a TIPC connection. The typical peer termination message is now created by duplicating the terminating port's standard payload message header and adjusting the message size, importance, and error code fields, rather than building all fields of the message from scratch. A FIN message that is directed to the port itself is created the same way. but also requires swapping the origin and destination address fields. In addition to reducing the work required to create FIN messages, these changes eliminate several instances of duplicated code, Signed-off-by: Allan Stephens <allan.stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions