Explicitly free packet on PF_DROP, otherwise a "quick" rule with
"route-to" may still forward it. PR: 177808 Submitted by: Kajetan Staszkiewicz <kajetan.staszkiewicz innogames.de> Sponsored by: InnoGames GmbH
This commit is contained in:
parent
6526887307
commit
0cbf499e97
@ -6000,6 +6000,10 @@ done:
|
||||
*m0 = NULL;
|
||||
action = PF_PASS;
|
||||
break;
|
||||
case PF_DROP:
|
||||
m_freem(*m0);
|
||||
*m0 = NULL;
|
||||
break;
|
||||
default:
|
||||
/* pf_route() returns unlocked. */
|
||||
if (r->rt) {
|
||||
@ -6376,6 +6380,10 @@ done:
|
||||
*m0 = NULL;
|
||||
action = PF_PASS;
|
||||
break;
|
||||
case PF_DROP:
|
||||
m_freem(*m0);
|
||||
*m0 = NULL;
|
||||
break;
|
||||
default:
|
||||
/* pf_route6() returns unlocked. */
|
||||
if (r->rt) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user