#undef TRACE_SYSTEM #define TRACE_SYSTEM intel-sst /* * The TRACE_SYSTEM_VAR defaults to TRACE_SYSTEM, but must be a * legitimate C variable. It is not exported to user space. */ #undef TRACE_SYSTEM_VAR #define TRACE_SYSTEM_VAR intel_sst #if !defined(_TRACE_INTEL_SST_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_INTEL_SST_H #include #include #include DECLARE_EVENT_CLASS(sst_ipc_msg, TP_PROTO(unsigned int val), TP_ARGS(val), TP_STRUCT__entry( __field( unsigned int, val ) ), TP_fast_assign( __entry->val = val; ), TP_printk("0x%8.8x", (unsigned int)__entry->val) ); DEFINE_EVENT(sst_ipc_msg, sst_ipc_msg_tx, TP_PROTO(unsigned int val), TP_ARGS(val) ); DEFINE_EVENT(sst_ipc_msg, sst_ipc_msg_rx, TP_PROTO(unsigned int val), TP_ARGS(val) ); DECLARE_EVENT_CLASS(sst_ipc_mailbox, TP_PROTO(unsigned int offset, unsigned int val), TP_ARGS(offset, val), TP_STRUCT__entry( __field( unsigned int, offset ) __field( unsigned int, val ) ), TP_fast_assign( __entry->offset = offset; __entry->val = val; ), TP_printk(" 0x%4.4x = 0x%8.8x", (unsigned int)__entry->offset, (unsigned int)__entry->val) ); DEFINE_EVENT(sst_ipc_mailbox, sst_ipc_inbox_rdata, TP_PROTO(unsigned int offset, unsigned int val), TP_ARGS(offset, val) ); DEFINE_EVENT(sst_ipc_mailbox, sst_ipc_inbox_wdata, TP_PROTO(unsigned int offset, unsigned int val), TP_ARGS(offset, val) ); DEFINE_EVENT(sst_ipc_mailbox, sst_ipc_outbox_rdata, TP_PROTO(unsigned int offset, unsigned int val), TP_ARGS(offset, val) ); DEFINE_EVENT(sst_ipc_mailbox, sst_ipc_outbox_wdata, TP_PROTO(unsigned int offset, unsigned int val), TP_ARGS(offset, val) ); DECLARE_EVENT_CLASS(sst_ipc_mailbox_info, TP_PROTO(unsigned int size), TP_ARGS(size), TP_STRUCT__entry( __field( unsigned int, size ) ), TP_fast_assign( __entry->size = size; ), TP_printk("Mailbox bytes 0x%8.8x", (unsigned int)__entry->size) ); DEFINE_EVENT(sst_ipc_mailbox_info, sst_ipc_inbox_read, TP_PROTO(unsigned int size), TP_ARGS(size) ); DEFINE_EVENT(sst_ipc_mailbox_info, sst_ipc_inbox_write, TP_PROTO(unsigned int size), TP_ARGS(size) ); DEFINE_EVENT(sst_ipc_mailbox_info, sst_ipc_outbox_read, TP_PROTO(unsigned int size), TP_ARGS(size) ); DEFINE_EVENT(sst_ipc_mailbox_info, sst_ipc_outbox_write, TP_PROTO(unsigned int size), TP_ARGS(size) ); #endif /* _TRACE_SST_H */ /* This part must be outside protection */ #include ='qt'>
diff options
context:
space:
mode:
authorDavid Ahern <dsa@cumulusnetworks.com>2016-12-29 15:29:03 -0800
committerDavid S. Miller <davem@davemloft.net>2016-12-29 22:27:23 -0500
commitf5a0aab84b74de68523599817569c057c7ac1622 (patch)
tree321a7119a443d99853b4d3e747db583ad3a39912 /net/dccp/input.c
parent2344ef3c86a7fe41f97bf66c7936001b6132860b (diff)
net: ipv4: dst for local input routes should use l3mdev if relevant
IPv4 output routes already use l3mdev device instead of loopback for dst's if it is applicable. Change local input routes to do the same. This fixes icmp responses for unreachable UDP ports which are directed to the wrong table after commit 9d1a6c4ea43e4 because local_input routes use the loopback device. Moving from ingress device to loopback loses the L3 domain causing responses based on the dst to get to lost. Fixes: 9d1a6c4ea43e4 ("net: icmp_route_lookup should use rt dev to determine L3 domain") Signed-off-by: David Ahern <dsa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/input.c')