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:
parent
e009ba461d
commit
4b4ee018fa
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user