aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorBrian Haley <[email protected]>2008-11-12 22:59:21 -0800
committerDavid S. Miller <[email protected]>2008-11-12 22:59:21 -0800
commit6e093d9dfffc9a02cd54d36904c62f705f09900a (patch)
treeb9250d24821ffa8edb55fee50e0d695afd23a6f9 /fs/jbd2/commit.c
parentb2af2c1d3e4ddeea9d02c46d0df0c322cc7b7061 (diff)
ipv6: routing header fixes
This patch fixes two bugs: 1. setsockopt() of anything but a Type 2 routing header should return EINVAL instead of EPERM. Noticed by Shan Wei ([email protected]). 2. setsockopt()/sendmsg() of a Type 2 routing header with invalid length or segments should return EINVAL. These values are statically fixed in RFC 3775, unlike the variable Type 0 was. Signed-off-by: Brian Haley <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions