aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorPaul Moore <[email protected]>2007-01-04 16:56:46 -0800
committerDavid S. Miller <[email protected]>2007-01-09 00:29:51 -0800
commitcbbd7d4f36a61631f8c0d73be43df985d1e7d6a6 (patch)
tree53bc30da9db871484d137e69aebfcfd29dfda4ed /include/linux/debugobjects.h
parentefa06708fe77190f31bed5c3cb5da49e211240f5 (diff)
[INET]: Fix incorrect "inet_sock->is_icsk" assignment.
The inet_create() and inet6_create() functions incorrectly set the inet_sock->is_icsk field. Both functions assume that the is_icsk field is large enough to hold at least a INET_PROTOSW_ICSK value when it is actually only a single bit. This patch corrects the assignment by doing a boolean comparison whose result will safely fit into a single bit field. Signed-off-by: Paul Moore <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions