aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2008-04-10 04:43:09 -0400
committerDavid S. Miller <davem@davemloft.net>2008-04-10 04:43:09 -0400
commit43db6d65e0ef943a361cb91f8baa49132009227b (patch)
tree5770f1dac28a209bb6e0c04f5948c454bb6a8733 /include/linux
parentb715631fad3ed320b85d386a84a6fb0b3f86b0b9 (diff)
socket: sk_filter deinline
The sk_filter function is too big to be inlined. This saves 2296 bytes of text on allyesconfig. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/filter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/filter.h b/include/linux/filter.h
index bfc5d319b946..673e5677ebcc 100644
--- a/include/linux/filter.h
+++ b/include/linux/filter.h
@@ -142,6 +142,7 @@ static inline unsigned int sk_filter_len(const struct sk_filter *fp)
142struct sk_buff; 142struct sk_buff;
143struct sock; 143struct sock;
144 144
145extern int sk_filter(struct sock *sk, struct sk_buff *skb);
145extern unsigned int sk_run_filter(struct sk_buff *skb, 146extern unsigned int sk_run_filter(struct sk_buff *skb,
146 struct sock_filter *filter, int flen); 147 struct sock_filter *filter, int flen);
147extern int sk_attach_filter(struct sock_fprog *fprog, struct sock *sk); 148extern int sk_attach_filter(struct sock_fprog *fprog, struct sock *sk);