in recv_unicast_frag(), the third parameter of the interface_rx() invocation, which is the size of the current header, is wrongly computed.
Signed-off-by: Antonio Quartulli ordex@autistici.org --- routing.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/routing.c b/routing.c index f961cc5..cf8fe0a 100644 --- a/routing.c +++ b/routing.c @@ -990,7 +990,7 @@ int recv_ucast_frag_packet(struct sk_buff *skb, struct hard_iface *recv_if) return NET_RX_SUCCESS;
interface_rx(recv_if->soft_iface, new_skb, recv_if, - sizeof(struct unicast_packet)); + sizeof(*unicast_packet)); return NET_RX_SUCCESS; }