From: Pablo Neira <pablo@eurodev.net>
To: netdev@oss.sgi.com
Cc: "David S. Miller" <davem@davemloft.net>
Subject: [PATCH 0/4] [NETLINK] unify checkings for clean messages and fix indentation
Date: Fri, 11 Feb 2005 01:13:47 +0100 [thread overview]
Message-ID: <420BF8BB.5000809@eurodev.net> (raw)
Hi,
The following patches introduce a new function that check that the
netlink messages received are clean. Actually some people performs such
checkings, some don't and others simply do some half of them. I think
that we must unify the behaviour of a netlink socket when it has to
reply to malformed messages. Attached an indentation fix for netlink.h
as well.
00indent-fix.patch:
fixes broken indentation in netlink.h
01process_skb.patch:
introduces the new function called netlink_check_skb that does
the sanity checkings for received messages.
02xfrm.patch:
the modification to make xfrm_user use such new function.
03rtnetlink.patch:
same thing for rtnetlink.
The 02 and 03 patches are straightforward conversions. If you are ok
with this, I could post more patches to make other netlink sockets use
this new function.
--
Pablo
reply other threads:[~2005-02-11 0:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=420BF8BB.5000809@eurodev.net \
--to=pablo@eurodev.net \
--cc=davem@davemloft.net \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.