aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWillem de Bruijn <[email protected]>2016-04-02 23:08:06 -0400
committerDavid S. Miller <[email protected]>2016-04-04 15:50:29 -0400
commit39771b127b412377d6354893c7d43ee8f2edecfd (patch)
tree065ed6db2e28f348f03feef14869503150547cdd /tools/perf/scripts/python/export-to-postgresql.py
parent833716e0ed026c1abc7dd0e85a6932b855a8e56b (diff)
sock: break up sock_cmsg_snd into __sock_cmsg_snd and loop
To process cmsg's of the SOL_SOCKET level in addition to cmsgs of another level, protocols can call sock_cmsg_send(). This causes a double walk on the cmsghdr list, one for SOL_SOCKET and one for the other level. Extract the inner demultiplex logic from the loop that walks the list, to allow having this called directly from a walker in the protocol specific code. Signed-off-by: Willem de Bruijn <[email protected]> Signed-off-by: Soheil Hassas Yeganeh <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions