diff options
author | jojemann <none@none> | 2006-09-19 11:54:22 -0700 |
---|---|---|
committer | jojemann <none@none> | 2006-09-19 11:54:22 -0700 |
commit | 3c3c34913c79a1323072bdaeec5e47c4ccfbb892 (patch) | |
tree | f252d27113e1ad9ce0c738c40154fa28310722e3 /usr/src | |
parent | 605445d5657096e69d948ccb554c9ff024fa34df (diff) | |
download | illumos-gate-3c3c34913c79a1323072bdaeec5e47c4ccfbb892.tar.gz |
6466047 SIOCSTPUT now requires SIOCSTLCK before adding nat entry which breaks some applications
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/uts/common/inet/ipf/ip_nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/inet/ipf/ip_nat.c b/usr/src/uts/common/inet/ipf/ip_nat.c index bf54b225c5..ceaa980158 100644 --- a/usr/src/uts/common/inet/ipf/ip_nat.c +++ b/usr/src/uts/common/inet/ipf/ip_nat.c @@ -812,7 +812,7 @@ int mode; } break; case SIOCSTPUT : - if (fr_nat_lock && (mode & FWRITE)) { + if ((mode & FWRITE) != 0) { error = fr_natputent(data, getlock); } else { error = EACCES; |