mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 23:12:24 +00:00
ca971bbfd8
This patch changes the top-level directory layout as a preparatory step for improving the tools for managing 3rd-party source codes. The rationale is described in the issue referenced below. Issue #1082
14 lines
487 B
Diff
14 lines
487 B
Diff
Index: net/ipv4/icmp.c
|
|
===================================================================
|
|
--- net/ipv4/icmp.c (revision 23)
|
|
+++ net/ipv4/icmp.c (working copy)
|
|
@@ -818,7 +818,7 @@
|
|
if (!net->ipv4.sysctl_icmp_echo_ignore_all) {
|
|
struct icmp_bxm icmp_param;
|
|
|
|
- icmp_param.data.icmph = *icmp_hdr(skb);
|
|
+ memcpy(&icmp_param.data.icmph, icmp_hdr(skb), sizeof(struct icmphdr));
|
|
icmp_param.data.icmph.type = ICMP_ECHOREPLY;
|
|
icmp_param.skb = skb;
|
|
icmp_param.offset = 0;
|