Changeset 4c53333 in mainline for uspace/srv/net/inetsrv/reass.c
- Timestamp:
- 2013-07-11T08:21:10Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 64e63ce1
- Parents:
- 80445cf (diff), c8bb1633 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 moved
-
uspace/srv/net/inetsrv/reass.c (moved) (moved from uspace/srv/net/inet/reass.c ) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/inetsrv/reass.c
r80445cf r4c53333 42 42 #include <stdlib.h> 43 43 44 #include "inet .h"44 #include "inetsrv.h" 45 45 #include "inet_std.h" 46 46 #include "reass.h" … … 86 86 int rc; 87 87 88 log_msg(L VL_DEBUG, "inet_reass_queue_packet()");88 log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_reass_queue_packet()"); 89 89 90 90 fibril_mutex_lock(&reass_dgram_map_lock); … … 95 95 /* Only happens when we are out of memory */ 96 96 fibril_mutex_unlock(&reass_dgram_map_lock); 97 log_msg(L VL_DEBUG, "Allocation failed, packet dropped.");97 log_msg(LOG_DEFAULT, LVL_DEBUG, "Allocation failed, packet dropped."); 98 98 return ENOMEM; 99 99 } … … 139 139 dgram_link); 140 140 141 if ( f1->packet.src.ipv4 == packet->src.ipv4&&142 f1->packet.dest.ipv4 == packet->dest.ipv4&&143 f1->packet.proto == packet->proto&&144 f1->packet.ident == packet->ident) {141 if ((inet_addr_compare(&f1->packet.src, &packet->src)) && 142 (inet_addr_compare(&f1->packet.dest, &packet->dest)) && 143 (f1->packet.proto == packet->proto) && 144 (f1->packet.ident == packet->ident)) { 145 145 /* Match */ 146 146 return rdg;
Note:
See TracChangeset
for help on using the changeset viewer.
