Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xenomai
xenomai
Commits
20595ce1
Commit
20595ce1
authored
Feb 14, 2018
by
Philippe Gerum
Browse files
net/ipv4: opt in for non-deliverable packet warning
parent
245104ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
kernel/drivers/net/stack/ipv4/Kconfig
View file @
20595ce1
...
...
@@ -62,5 +62,14 @@ config XENO_DRIVERS_NET_RTIPV4_ROUTER
See Documentation/README.routing for further information.
config XENO_DRIVERS_NET_RTIPV4_DEBUG
bool "RTipv4 Debugging"
depends on XENO_DRIVERS_NET_RTIPV4
default n
---help---
Enables debug message output of the RTipv4 layer. Typically, you
may want to turn this on for tracing issues in packet delivery.
source "drivers/xenomai/net/stack/ipv4/udp/Kconfig"
# source "drivers/xenomai/net/stack/ipv4/tcp/Kconfig"
kernel/drivers/net/stack/ipv4/ip_input.c
View file @
20595ce1
...
...
@@ -105,7 +105,8 @@ static inline void rt_ip_local_deliver(struct rtskb *skb)
rt_ip_fallback_handler
(
skb
);
#endif
/* CONFIG_XENO_DRIVERS_NET_ADDON_PROXY */
}
else
{
rtdm_printk
(
"RTnet: no protocol found
\n
"
);
if
(
IS_ENABLED
(
CONFIG_XENO_DRIVERS_NET_RTIPV4_DEBUG
))
rtdm_printk
(
"RTnet: no protocol found
\n
"
);
kfree_rtskb
(
skb
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment