diff options
author | Paul Moore <paul.moore@hp.com> | 2007-09-16 08:45:13 +0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-11 03:51:17 +0400 |
commit | 63d804eade298208037045ab6728c933f2b6c27d (patch) | |
tree | 570c9b4a19abea4f9a12907368b59a50a4a16913 /net/rfkill/Kconfig | |
parent | 88d3aafdae5c5e1d2dd9489a5c8a24e29d335f2e (diff) | |
download | linux-63d804eade298208037045ab6728c933f2b6c27d.tar.xz |
[CIPSO]: remove duplicated code in the cipso_v4_*_getattr() functions
The bulk of the CIPSO option parsing/processing in the cipso_v4_sock_getattr()
and cipso_v4_skb_getattr() functions are identical, the only real difference
being where the functions obtain the CIPSO option itself. This patch creates
a new function, cipso_v4_getattr(), which contains the common CIPSO option
parsing/processing code and modifies the existing functions to call this new
helper function.
Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rfkill/Kconfig')
0 files changed, 0 insertions, 0 deletions