[PATCH] fix missing attribute in DCCP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Patrick,

While finishing the DCCP support (I think it's the last to finish
the conntrack-tools), I notice that there's one field that is
not exported to user-space via ctnetlink.

This patch adds a couple of missing attributes that allows me to
set the role in DCCP connections, otherwise the ctnetlink support
is not of much help to be used by conntrackd.

This can be done with only one attribute, so we can have just one
CTA_PROTOINFO_DCCP_ROLE_ORIGINAL and set the reply as the opposite.
However, this may look at bit inconsistent. I don't really mind
the way this is done, just tell me I'll do it :), but I need this
to complete DCCP support.

BTW, I think that this can be qualified as bugfix for 2.6.30-rc
since the current support is not of any help to create
conntrack entries with DCCP.

---

Pablo Neira Ayuso (1):
      netfilter: conntrack: add missing role attributes for DCCP


 include/linux/netfilter/nfnetlink_conntrack.h |    2 ++
 net/netfilter/nf_conntrack_proto_dccp.c       |   13 ++++++++++++-
 2 files changed, 14 insertions(+), 1 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux