[INET]: Remove is_setbyuser patch
The value is_setbyuser from struct ip_options is never used and set only one time (http://linux-net.osdl.org/index.php/TODO#IPV4). This little patch removes it from the kernel source. Signed-off-by: Louis Nyffenegger <louis.nyffenegger@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
0298f36a57
commit
1a01912ae0
@@ -525,7 +525,6 @@ static int ip_options_get_finish(struct ip_options **optp,
|
||||
opt->__data[optlen++] = IPOPT_END;
|
||||
opt->optlen = optlen;
|
||||
opt->is_data = 1;
|
||||
opt->is_setbyuser = 1;
|
||||
if (optlen && ip_options_compile(opt, NULL)) {
|
||||
kfree(opt);
|
||||
return -EINVAL;
|
||||
|
Reference in New Issue
Block a user