Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
xenomai
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xenomai
xenomai
Commits
20595ce1
Commit
20595ce1
authored
Feb 14, 2018
by
Philippe Gerum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net/ipv4: opt in for non-deliverable packet warning
parent
245104ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
kernel/drivers/net/stack/ipv4/Kconfig
kernel/drivers/net/stack/ipv4/Kconfig
+9
-0
kernel/drivers/net/stack/ipv4/ip_input.c
kernel/drivers/net/stack/ipv4/ip_input.c
+2
-1
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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