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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=165435
@ -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…
Reference in New Issue
Block a user