netpfil: Correct some typos in source code comments
- s/occured/occurred/ - s/the the/the/ MFC after: 3 days
This commit is contained in:
parent
dc79640e92
commit
4d89e2018c
@ -7360,7 +7360,7 @@ ipf_token_expire(ipf_main_softc_t *softc)
|
||||
/* Loop through all of the existing tokens and call deref to see if they */
|
||||
/* can be freed. Normally a function like this might just loop on */
|
||||
/* ipf_token_head but there is a chance that a token might have a ref count */
|
||||
/* of greater than one and in that case the the reference would drop twice */
|
||||
/* of greater than one and in that case the reference would drop twice */
|
||||
/* by code that is only entitled to drop it once. */
|
||||
/* ------------------------------------------------------------------------ */
|
||||
static void
|
||||
|
@ -833,7 +833,7 @@ typedef struct frentry {
|
||||
#define FR_STATESYNC 0x1000000 /* synchronize state to slave */
|
||||
#define FR_COPIED 0x2000000 /* copied from user space */
|
||||
#define FR_INACTIVE 0x4000000 /* only used when flush'ing rules */
|
||||
#define FR_NOMATCH 0x8000000 /* no match occured */
|
||||
#define FR_NOMATCH 0x8000000 /* no match occurred */
|
||||
/* 0x10000000 FF_LOGPASS */
|
||||
/* 0x20000000 FF_LOGBLOCK */
|
||||
/* 0x40000000 FF_LOGNOMATCH */
|
||||
|
@ -1904,7 +1904,7 @@ ipf_tcpoptions(ipf_state_softc_t *softs, fr_info_t *fin, tcphdr_t *tcp,
|
||||
|
||||
/*
|
||||
* Extract the TCP options we are interested in out of
|
||||
* the header and store them in the the tcpdata struct.
|
||||
* the header and store them in the tcpdata struct.
|
||||
*/
|
||||
switch (opt)
|
||||
{
|
||||
|
@ -1851,7 +1851,7 @@ dyn_get_parent_state(const struct ipfw_flow_id *pkt, uint32_t zoneid,
|
||||
/*
|
||||
* We must exit from critical section because the following code
|
||||
* can acquire bucket mutex.
|
||||
* We rely on the the 'count' field. The state will not expire
|
||||
* We rely on the 'count' field. The state will not expire
|
||||
* until it has some child states, i.e. 'count' field is not zero.
|
||||
* Return state pointer, it will be used by child states as parent.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user