Eric W. Biederman af4c6641f5 net sched: Pass the skb into change so it can access NETLINK_CB
cls_flow.c plays with uids and gids.  Unless I misread that
code it is possible for classifiers to depend on the specific uid and
gid values.  Therefore I need to know the user namespace of the
netlink socket that is installing the packet classifiers.  Pass
in the rtnetlink skb so I can access the NETLINK_CB of the passed
packet.  In particular I want access to sk_user_ns(NETLINK_CB(in_skb).ssk).

Pass in not the user namespace but the incomming rtnetlink skb into
the the classifier change routines as that is generally the more useful
parameter.

Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
2012-08-14 21:55:28 -07:00
..
2011-03-31 11:26:23 -03:00
2012-07-18 11:28:46 -07:00
2012-06-08 14:27:23 -07:00
2012-07-17 11:57:23 +02:00
2012-04-15 12:44:40 -04:00
2012-04-15 12:44:40 -04:00
2010-06-03 03:21:52 -07:00
2012-04-15 12:44:40 -04:00
2012-07-19 10:43:03 -07:00
2012-07-31 14:41:38 -07:00
2011-03-31 11:26:23 -03:00
2012-04-15 12:44:40 -04:00
2012-07-18 08:59:58 -07:00
2012-07-19 10:35:30 -07:00
2012-04-14 14:47:05 -04:00
2011-03-31 11:26:23 -03:00
2012-05-17 18:45:20 -04:00
2011-07-26 16:49:47 -07:00
2010-06-03 03:21:52 -07:00
2011-05-17 14:16:58 -04:00
2012-07-26 15:50:39 -07:00
2012-05-19 01:08:16 -04:00
2012-07-22 23:58:00 +04:00
2012-08-14 21:49:56 -07:00
2012-04-15 12:44:40 -04:00
2012-05-16 15:17:08 -04:00
2012-04-15 12:44:40 -04:00