Return value PKT_ALIAS_FOUND_HEADER_FRAGMENT isn't an error case. The

packet shouldn't be dropped.

Submitted by:	Alexander Motin <mav alkar.net>
This commit is contained in:
Gleb Smirnoff 2006-12-21 10:26:01 +00:00
parent e009ba461d
commit 4b4ee018fa
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=165435

View File

@ -229,7 +229,8 @@ ng_nat_rcvdata(hook_p hook, item_p item )
if (hook == priv->in) {
rval = LibAliasIn(priv->lib, c, MCLBYTES);
if (rval != PKT_ALIAS_OK) {
if (rval != PKT_ALIAS_OK &&
rval != PKT_ALIAS_FOUND_HEADER_FRAGMENT) {
NG_FREE_ITEM(item);
return (EINVAL);
}