summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorMichael Halcrow <mhalcrow@google.com>2017-02-13 09:22:36 -0800
committerJin Qian <jinqian@google.com>2017-02-14 18:34:04 +0000
commit8b75db9857a49502a9b7156433f1bc57451805c1 (patch)
treee8708e74160a62c6b1dfbf936276172418c31fec /net/ipv4/tcp_output.c
parenta425a70b2627c5d429c875619d9d42a39bf0f7dd (diff)
ANDROID: ext4 crypto: Disables zeroing on truncation when there's no key
When performing orphan cleanup on mount, ext4 may truncate pages. Truncation as currently implemented may require the encryption key for partial zeroing, and the key isn't necessarily available on mount. Since the userspace tools don't perform the partial zeroing operation anyway, let's just skip doing that in the kernel. This patch fixes a BUG_ON() oops. Bug: 35209576 Change-Id: I2527a3f8d2c57d2de5df03fda69ee397f76095d7 Signed-off-by: Michael Halcrow <mhalcrow@google.com>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions