commit | 0b454ea4abdc8a563af6da58fa37835729220acf | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Fri Oct 25 19:53:31 2013 +0900 |
committer | JP Abgrall <jpa@google.com> | Fri Oct 25 17:16:41 2013 +0000 |
tree | f639c79ad1e038fc2282d0c8d777dfe3c36b8787 | |
parent | cf7c488008839b7c0341628c869bddf26b9daa99 [diff] |
Simplify notification code in NetlinkHandler. 1. Factor most of the notification code out to a common function. 2. Use vasprintf instead of snprintf so we don't have to worry about clipping notifications due to fixed-size message buffers. Bug: 9180552 Change-Id: Idde16ee6dd56d38dab866f0ea678b04d98b3048d